DocumentAssembler class

DocumentAssembler class

Provides routines to populate template documents with data and a set of settings to control these routines.

The DocumentAssembler type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of this class.

Properties

Property Description
options Gets or sets a set of flags controlling behavior of this DocumentAssembler instance
while assembling a document.
barcode_settings Gets a set of settings controlling barcode generation while assembling a document.
known_types Gets an unordered set (that is, a collection of unique items) containing Type objects
which fully or partially qualified names can be used within document templates processed by this
assembler instance to invoke the corresponding types’ static members, perform type casts, etc.
use_reflection_optimization Gets or sets a value indicating whether invocations of custom type members performed via reflection API are
optimized using dynamic class generation or not. The default value is true.

Methods

Method Description
assemble_document Loads a template document from the specified source path, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target path using default
LoadSaveOptions.
assemble_document Loads a template document from the specified source path, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target path using the given
LoadSaveOptions.
assemble_document Loads a template document from the specified source stream, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target stream using default
LoadSaveOptions.
assemble_document Loads a template document from the specified source stream, populates the template document with data from
the specified single or multiple sources, and stores the result document to the target stream using the given
LoadSaveOptions.

See Also