PrintSaveOptions class

PrintSaveOptions class

Allows to specify additional options when printing diagram.

Inheritance: PrintSaveOptionsRenderingSaveOptionsSaveOptions

The PrintSaveOptions type exposes the following members:

Constructors

ConstructorDescription
PrintSaveOptions()Initializes a new instance of this class

Properties

PropertyDescription
save_formatSpecifies the format in which the document will be saved if this save options object is used.
default_fontWhen characters in the diagram are unicode and not be set with correct font value or the font is not installed locally,
they may appear as block in pdf, image or XPS.
Set the DefaultFont such as MingLiu or MS Gothic to show these characters.
warning_callbackGets or sets warning callback.
page_sizeGets or sets the page size for the generated images.
Can be PageSize or null.
shapesGets or sets shapes to render. Default count is 0.
areaGets or sets the area of the shapes will be saved .
export_guide_shapesDefines whether need exporting the guide shapes or not.
is_export_commentsDefines whether need exporting the comments or not.
enlarge_pageSpecifies whether enlarge page .
emf_render_settingSetting for rendering Emf metafile.
page_countGets or sets the number of pages to render when saving to a multipage file.
Default is MaxValue which means all pages of the diagram will be printed.
save_foreground_pages_onlySpecifies whether all pages will be printed or only foreground.

Methods

MethodDescription
create_save_options(save_format)Creates a save options object of a class suitable for the specified save format.

See Also