Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / SaveAsImageOptions Class
Properties

In This Topic
    SaveAsImageOptions Class Members
    In This Topic

    The following tables list the members exposed by SaveAsImageOptions.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether bitmaps embedded in an OpenType font should be rendered.

    The default is true.

    This property is ignored if either UseRenderingCache or UseGlyphBitmapCache is false.

     
    Public PropertyGets or sets the background color. The default is white.  
    Public PropertyGets or sets the System.Threading.CancellationToken object. Allows canceling the execution of GcPdfDocument.SaveAsXXX() methods, see CancellationToken.  
    Public PropertyGets or sets a value indicating whether to render annotations. The default is true.  
    Public PropertyGets or sets a value indicating whether to render form fields. The default is true.  
    Public PropertyGets or sets a value indicating whether SVG text elements should be rendered as graphic paths.

    The default is true.

    This property is ignored when rendering to formats other than SVG.

     
    Public PropertyGets or sets a value indicating whether fonts used in the SVG text elements should be embedded.

    The default is false.

    This property is ignored when rendering to formats other than SVG or if DrawSvgTextAsPath is true.

     
    Public PropertyGets or sets a value indicating whether font hinting should be enabled for TrueType fonts.

    The default is true.

     
    Public PropertyGets or sets a value indicating whether to ignore errors in PDF content stream if possible.

    The default is true.

     
    Public PropertyGets or sets the sampling mode to use when drawing images with resizing. Default is GrapeCity.Documents.Drawing.InterpolationMode.Downscale.  
    Public PropertyGets or sets a value indicating whether the positions are set for each individual character within the SVG text element.

    Setting this property to false makes the resulting SVG file smaller but provides less precise positioning of individual characters.

    The default is true.

    This property is ignored when rendering to formats other than SVG or if DrawSvgTextAsPath is true.

     
    Public PropertyGets or sets a value indicating whether the image is generated for printing. The visibility of PDF elements may depend on the output target, they can be visible in a preview but hidden when printed, and vice versa.

    This property is now obsolete. All methods accepting SaveAsImageOptions as a parameter also now accept a GrapeCity.Documents.Pdf.Layers.ViewState object. Its properties should be used instead.

     
    Public PropertyGets or sets the resolution of the generated images. The default is 96.  
    Public PropertyGets or sets a value indicating whether glyphs are cached as bitmaps rather than as glyph paths.

    The default is true.

    This property is ignored if UseRenderingCache is false.

     
    Public PropertyGets or sets a value indicating whether to use rendering cache.

    This property is true by default. Setting this property to false reduces memory consumption, at the cost of slower rendering speed.

     
    Public PropertyGets or sets the zoom factor. The default is 1.  
    Top
    See Also