DocumentBuilder InsertBreak method. Inserts a break of the specified type into the Document in C#.... Document doc = new Document (); DocumentBuilder...builder = new DocumentBuilder ( doc ); // Specify that we want different...
Can be used to specify additional options when saving a Document into the Docx, Docm, Dotx, Dotm or FlatOpc format.... auto doc = MakeObject<Document>(); auto...MakeObject<DocumentBuilder>(doc); // If we configure compatibility...
CustomPart Data property. Contains the data of this custom part in C#.... Document doc = new Document ( MyDir + "Custom...docx" ); Assert . AreEqual ( 2 , doc . PackageCustomParts . Count...
CustomPartCollection Item property. Gets or sets an item at the specified index in C#.... Document doc = new Document ( MyDir + "Custom...docx" ); Assert . AreEqual ( 2 , doc . PackageCustomParts . Count...
NodeCollection Add method. Adds a node to the end of the collection in C#.... Document doc = new Document (); // A blank...AreEqual ( NodeType . Section , doc . GetChild ( NodeType . Any ...
StructuredDocumentTag constructor. Initializes a new instance of the Structured Document tag class in C#....StructuredDocumentTa ( DocumentBase doc , SdtType type , MarkupLevel...) Parameter Type Description doc DocumentBase The owner document...