DocumentBuilder Methods

The DocumentBuilder type exposes the following members.

Methods
  NameDescription
Public methodCode exampleDeleteRow
Deletes a row from a table.
Public methodCode exampleEndBookmark
Marks the current position in the document as a bookmark end.
Public methodCode exampleEndEditableRange
Marks the current position in the document as an editable range end.
Public methodCode exampleEndEditableRange(EditableRangeStart)
Marks the current position in the document as an editable range end.
Public methodCode exampleEndRow
Ends a table row in the document.
Public methodCode exampleEndTable
Ends a table in the document.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleInsertBreak
Inserts a break of the specified type into the document.
Public methodCode exampleInsertCell
Inserts a table cell into the document.
Public methodCode exampleInsertChart(ChartType, Double, Double)
Inserts an chart object into the document and scales it to the specified size.
Public methodCode exampleInsertChart(ChartType, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an chart object into the document and scales it to the specified size.
Public methodCode exampleInsertCheckBox(String, Boolean, Int32)
Inserts a checkbox form field at the current position.
Public methodCode exampleInsertCheckBox(String, Boolean, Boolean, Int32)
Inserts a checkbox form field at the current position.
Public methodCode exampleInsertComboBox
Inserts a combobox form field at the current position.
Public methodCode exampleInsertDocument(Document, ImportFormatMode)
Inserts a document at the cursor position.
Public methodCode exampleInsertDocument(Document, ImportFormatMode, ImportFormatOptions)
Inserts a document at the cursor position.
Public methodCode exampleInsertField(String)
Inserts a Word field into a document and updates the field result.
Public methodCode exampleInsertField(String, String)
Inserts a Word field into a document without updating the field result.
Public methodCode exampleInsertField(FieldType, Boolean)
Inserts a Word field into a document and optionally updates the field result.
Public methodCode exampleInsertFootnote(FootnoteType, String)
Inserts a footnote or endnote into the document.
Public methodCode exampleInsertFootnote(FootnoteType, String, String)
Inserts a footnote or endnote into the document.
Public methodCode exampleInsertHorizontalRule
Inserts a horizontal rule shape into the document.
Public methodCode exampleInsertHtml(String)
Inserts an HTML string into the document.
Public methodCode exampleInsertHtml(String, Boolean)
Inserts an HTML string into the document.
Public methodCode exampleInsertHyperlink
Inserts a hyperlink into the document.
Public methodCode exampleInsertImage(Byte)
Inserts an image from a byte array into the document. The image is inserted inline and at 100% scale.
Public methodCode exampleInsertImage(Image)
Inserts an image from a .NET Image object into the document. The image is inserted inline and at 100% scale.
Public methodCode exampleInsertImage(Stream)
Inserts an image from a stream into the document. The image is inserted inline and at 100% scale.
Public methodCode exampleInsertImage(String)
Inserts an image from a file or URL into the document. The image is inserted inline and at 100% scale.
Public methodCode exampleInsertImage(Byte, Double, Double)
Inserts an inline image from a byte array into the document and scales it to the specified size.
Public methodCode exampleInsertImage(Image, Double, Double)
Inserts an inline image from a .NET Image object into the document and scales it to the specified size.
Public methodCode exampleInsertImage(Stream, Double, Double)
Inserts an inline image from a stream into the document and scales it to the specified size.
Public methodCode exampleInsertImage(String, Double, Double)
Inserts an inline image from a file or URL into the document and scales it to the specified size.
Public methodCode exampleInsertImage(Byte, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an image from a byte array at the specified position and size.
Public methodCode exampleInsertImage(Image, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an image from a .NET Image object at the specified position and size.
Public methodCode exampleInsertImage(Stream, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an image from a stream at the specified position and size.
Public methodCode exampleInsertImage(String, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an image from a file or URL at the specified position and size.
Public methodCode exampleInsertNode
Inserts a text level node inside the current paragraph before the cursor.
Public methodCode exampleInsertOleObject(Stream, String, Boolean, Image)
Inserts an embedded OLE object from a stream into the document.
Public methodCode exampleInsertOleObject(String, Boolean, Boolean, Image)
Inserts an embedded or linked OLE object from a file into the document. Detects OLE object type using file extension.
Public methodCode exampleInsertOleObject(String, String, Boolean, Boolean, Image)
Inserts an embedded or linked OLE object from a file into the document. Detects OLE object type using given progID parameter.
Public methodCode exampleInsertOnlineVideo(String, Double, Double)
Inserts an online video object into the document and scales it to the specified size.
Public methodCode exampleInsertOnlineVideo(String, String, Byte, Double, Double)
Inserts an online video object into the document and scales it to the specified size.
Public methodCode exampleInsertOnlineVideo(String, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an online video object into the document and scales it to the specified size.
Public methodCode exampleInsertOnlineVideo(String, String, Byte, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts an online video object into the document and scales it to the specified size.
Public methodCode exampleInsertParagraph
Inserts a paragraph break into the document.
Public methodCode exampleInsertShape(ShapeType, Double, Double)
Inserts inline shape with specified type and size.
Public methodCode exampleInsertShape(ShapeType, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, Double, Double, WrapType)
Inserts free-floating shape with specified position, size and text wrap type.
Public methodCode exampleInsertSignatureLine(SignatureLineOptions)
Inserts a signature line at the current position.
Public methodCode exampleInsertSignatureLine(SignatureLineOptions, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, WrapType)
Inserts a signature line at the specified position.
Public methodCode exampleInsertStyleSeparator
Inserts style separator into the document.
Public methodCode exampleInsertTableOfContents
Inserts a TOC (table of contents) field into the document.
Public methodCode exampleInsertTextInput
Inserts a text form field at the current position.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodCode exampleMoveTo
Moves the cursor to an inline node or to the end of a paragraph.
Public methodCode exampleMoveToBookmark(String)
Moves the cursor to a bookmark.
Public methodCode exampleMoveToBookmark(String, Boolean, Boolean)
Moves the cursor to a bookmark with greater precision.
Public methodCode exampleMoveToCell
Moves the cursor to a table cell in the current section.
Public methodCode exampleMoveToDocumentEnd
Moves the cursor to the end of the document.
Public methodCode exampleMoveToDocumentStart
Moves the cursor to the beginning of the document.
Public methodCode exampleMoveToField
Moves the cursor to a field in the document.
Public methodCode exampleMoveToHeaderFooter
Moves the cursor to the beginning of a header or footer in the current section.
Public methodCode exampleMoveToMergeField(String)
Moves the cursor to a position just beyond the specified merge field and removes the merge field.
Public methodCode exampleMoveToMergeField(String, Boolean, Boolean)
Moves the merge field to the specified merge field.
Public methodCode exampleMoveToParagraph
Moves the cursor to a paragraph in the current section.
Public methodCode exampleMoveToSection
Moves the cursor to the beginning of the body in a specified section.
Public methodCode examplePopFont
Retrieves character formatting previously saved on the stack.
Public methodCode examplePushFont
Saves current character formatting onto the stack.
Public methodCode exampleStartBookmark
Marks the current position in the document as a bookmark start.
Public methodCode exampleStartEditableRange
Marks the current position in the document as an editable range start.
Public methodCode exampleStartTable
Starts a table in the document.
Public methodToString (Inherited from Object.)
Public methodCode exampleWrite
Inserts a string into the document at the current insert position.
Public methodCode exampleWriteln
Inserts a paragraph break into the document.
Public methodCode exampleWriteln(String)
Inserts a string and a paragraph break into the document.
See Also