Book a Demo

Author Topic: DocumentGenerator.InsertImage()  (Read 5653 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
DocumentGenerator.InsertImage()
« on: March 06, 2020, 08:15:14 pm »
Hello everybody,


When using the DocumentGenerator, it would be useful to be able to insert an image in a document, like you can insert text or raw RTF.

Parameters
  • image: a string with the image reference.
  • type, or maybe source: specifies what kind of image you are referring to -- image in the image manager, image in an MDG Technology, or an image asset GUID.
No line or section breaks should be added before or after the image, you'd need to do that yourself with InsertBreak() or InsertText(). Reason being, you want to be able to place a very small image inline with some text.

/Uffe
My theories are always correct, just apply them to the right reality.