Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To insert an image into a section of your document, use one of the following methods. Each method inserts an image at the beginning or end of an Element. An Element object represents an editable region in a document, such as a section or paragraph. The document itself is an Element.

Code Block
InlineImage Element.InsertImageBefore(String fileName)
  • Inserts the image specified by file name at the beginning of the element.
Code Block
InlineImage Element.InsertImageAfter(String fileName)
  • Inserts the image specified by file name at the end of the element.
Code Block
InlineImage Element.InsertImageBefore(System.IO.Stream stream)
  • Inserts the image contained in the specified stream at the beginning of the element.
Code Block
InlineImage Element.InsertImageAfter(System.IO.Stream stream)
  • Inserts the image contained in the specified stream at the end of the element.

...