Class SVGSaveOptions

SVGSaveOptions class

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

public class SVGSaveOptions : RenderingSaveOptions

Constructors

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

Properties

NameDescription
Area { get; set; }Gets or sets the area of the shapes will be saved .
CustomImagePath { get; set; }The user custom path(URL) saved in generated svg file for the image. If not defined by user, Current directory will be used.
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.
EmfRenderSetting { get; set; }Setting for rendering Emf metafile.
EnlargePage { get; set; }Specifies whether enlarge page .
ExportElementAsRectTag { get; set; }Defines whether need exporting rectangle elements as rect tag or not.
ExportGuideShapes { get; set; }Defines whether need exporting the guide shapes or not.
ExportHiddenPage { get; set; }Defines whether need exporting the hidden page or not.
IsExportComments { get; set; }Defines whether need exporting the comments or not.
IsExportScaleInMatrix { get; set; }Defines whether need export scale in matrix or not.
IsSavingCustomLinePattern { get; set; }Defines whether Saving custom line pattern.
IsSavingImageSeparately { get; set; }Defines whether Saving Image Separately.
PageIndex { get; set; }Gets or sets the 0-based index of the page to render. Default is 0.
PageSize { get; set; }Gets or sets the page size for the generated images. Can be PageSize or null.
Quality { get; set; }Gets or sets a value determining the quality of the generated images to apply only when saving pages to the Jpeg format. The default value is 100
virtual SaveFormat { get; set; }Specifies the format in which the document will be saved if this save options object is used.
Shapes { get; set; }Gets or sets shapes to render. Default count is 0.
SVGFitToViewPort { get; set; }if this property is true, the generated svg will fit to view port.
WarningCallback { get; set; }Gets or sets warning callback.

See Also