ImageSaveOptions Class
Allows to specify additional options when rendering diagram pages to images.
Inheritance Hierarchy
SystemObject
  Aspose.Diagram.SavingSaveOptions
    Aspose.Diagram.SavingRenderingSaveOptions
      Aspose.Diagram.SavingImageSaveOptions

Namespace: Aspose.Diagram.Saving
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public class ImageSaveOptions : RenderingSaveOptions

The ImageSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodImageSaveOptions
Initializes a new instance of this class that can be used to save rendered images in the Tiff, Png, Bmp, Emf or Jpeg format.
Properties
  NameDescription
Public propertyArea
Gets or sets the area of the shapes will be saved .
(Inherited from RenderingSaveOptions.)
Public propertyCompositingQuality
Specifies the quality level to use during compositing.
Public propertyDefaultFont
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.
(Inherited from SaveOptions.)
Public propertyEnlargePage
Specifies whether enlarge page .
(Inherited from RenderingSaveOptions.)
Public propertyExportGuideShapes
Defines whether need exporting the guide shapes or not.
(Inherited from RenderingSaveOptions.)
Public propertyExportHiddenPage
Defines whether need exporting the hidden page or not.
Public propertyImageBrightness
Gets or sets the brightness for the the generated images.
Public propertyImageColorMode
Gets or sets the color mode for the generated images.
Public propertyImageContrast
Gets or sets the contrast for the generated images.
Public propertyInterpolationMode
Specifies the algorithm that is used when images are scaled or rotated.
Public propertyIsExportComments
Defines whether need exporting the comments or not.
(Inherited from RenderingSaveOptions.)
Public propertyJpegQuality
Gets or sets a value determining the quality of the generated JPEG images.
Public propertyPageCount
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.
Public propertyPageIndex
Gets or sets the 0-based index of the first page to render. Default is 0.
Public propertyPageSize
Gets or sets the page size for the generated images. Can be PageSize or null.
(Inherited from RenderingSaveOptions.)
Public propertyPixelOffsetMode
Gets or set a value specifying how pixels are offset during rendering.
Public propertyResolution
Gets or sets the resolution for the generated images, in dots per inch.
Public propertySameAsPdfConversionArea
Specifies whether saving area same as pdf .
Public propertySaveForegroundPagesOnly
Specifies whether all pages will be saved in image or only foreground.
Public propertySaveFormat
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.
(Overrides SaveOptionsSaveFormat.)
Public propertyScale
Gets or sets the zoom factor for the generated images.
Public propertyShapes
Gets or sets shapes to render. Default count is 0.
(Inherited from RenderingSaveOptions.)
Public propertySmoothingMode
Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.
Public propertyTiffCompression
Gets or sets the type of compression to apply when saving generated images to the TIFF format.
Public propertyWarningCallback
Gets or sets warning callback.
(Inherited from SaveOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also