Class PdfSaveOptions

PdfSaveOptions class

Allows to specify additional options when rendering diagram pages to PDF.

public class PdfSaveOptions : RenderingSaveOptions

Constructors

NameDescription
PdfSaveOptions()Initializes a new instance of this class that can be used to save a document in the Pdf format.

Properties

NameDescription
Area { get; set; }Gets or sets the area of the shapes will be saved .
Compliance { get; set; }Desired conformance level for generated PDF document. Default is Pdf15.
virtual DefaultFont { get; set; }When 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.
DigitalSignatureDetails { get; set; }Gets or sets a digital signature details. If not set, then no signing will be performed.
EmfRenderSetting { get; set; }Setting for rendering Emf metafile.
EncryptionDetails { get; set; }Gets or sets a encryption details. If not set, then no encryption will be performed.
EnlargePage { get; set; }Specifies whether enlarge page .
ExportGuideShapes { get; set; }Defines whether need exporting the guide shapes or not.
ExportHiddenPage { get; set; }Defines whether need exporting the hidden page or not.
HorizontalResolution { get; set; }Gets or sets the horizontal resolution for generated images, in dots per inch. Applies generating image method except Emf format images.
IsExportComments { get; set; }Defines whether need exporting the comments or not.
JpegQuality { get; set; }Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.
PageCount { get; set; }Gets or sets the number of pages to render in PDF. Default is MaxValue which means all pages of the diagram will be rendered.
PageIndex { get; set; }Gets or sets the 0-based index of the first page to render. Default is 0.
PageSavingCallback { get; set; }Control/Indicate progress of page saving process.
PageSize { get; set; }Gets or sets the page size for the generated images. Can be PageSize or null.
SaveForegroundPagesOnly { get; set; }Specifies whether all pages will be saved in image or only foreground.
override SaveFormat { get; set; }Specifies the format in which the rendered diagram pages will be saved if this save options object is used. Can be PDF only.
Shapes { get; set; }Gets or sets shapes to render. Default count is 0.
SplitMultiPages { get; set; }Defines whether split diagram to multi pages according to page’s setting.
TextCompression { get; set; }Specifies compression type to be used for all content streams except images. Default is Flate.
VerticalResolution { get; set; }Gets or sets the vertical resolution for generated images, in dots per inch. Applies generating image method except Emf format image.
WarningCallback { get; set; }Gets or sets warning callback.

See Also