Class ImageSaveOptions

ImageSaveOptions class

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

public class ImageSaveOptions : RenderingSaveOptions


ImageSaveOptions(SaveFileFormat)Initializes a new instance of this class that can be used to save rendered images in the Tiff, Png, Bmp, Emf or Jpeg format.


Area { get; set; }Gets or sets the area of the shapes will be saved .
CompositingQuality { get; set; }Specifies the quality level to use during compositing.
ContentZoom { get; set; }This parameter is similar with scale, but not effect the generated image size.
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 .
ExportGuideShapes { get; set; }Defines whether need exporting the guide shapes or not.
ExportHiddenPage { get; set; }Defines whether need exporting the hidden page or not.
ImageBrightness { get; set; }Gets or sets the brightness for the the generated images.
ImageColorMode { get; set; }Gets or sets the color mode for the generated images.
ImageContrast { get; set; }Gets or sets the contrast for the generated images.
InterpolationMode { get; set; }Specifies the algorithm that is used when images are scaled or rotated.
IsExportComments { get; set; }Defines whether need exporting the comments or not.
JpegQuality { get; set; }Gets or sets a value determining the quality of the generated JPEG images.
PageCount { get; set; }Gets or sets the number of pages to render when saving to a multipage TIFF file. 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.
PageSize { get; set; }Gets or sets the page size for the generated images. Can be PageSize or null.
PixelOffsetMode { get; set; }Gets or set a value specifying how pixels are offset during rendering.
Resolution { get; set; }Gets or sets the resolution for the generated images, in dots per inch.
SameAsPdfConversionArea { get; set; }Specifies whether saving area same as pdf .
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 Tiff, Png, Bmp, Emf or Jpeg.
Scale { get; set; }Gets or sets the zoom factor for the generated images.
Shapes { get; set; }Gets or sets shapes to render. Default count is 0.
SmoothingMode { get; set; }Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.
TiffCompression { get; set; }Gets or sets the type of compression to apply when saving generated images to the TIFF format.
WarningCallback { get; set; }Gets or sets warning callback.

See Also