[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.RedactOptions.RenderOptionsDef

Class RedactOptions.RenderOptionsDef

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Represents options that are used when a redact action requires that some PDF content is rendered as an image.

public class RedactOptions.RenderOptionsDef
Inheritance
object
RedactOptions.RenderOptionsDef
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

RenderOptionsDef()

public RenderOptionsDef()

Properties

AllowFontSbits

Gets 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 bool AllowFontSbits { get; set; }

Property Value

bool

BackColor

Gets or sets the background color. The default is white.

public Color BackColor { get; set; }

Property Value

System.Drawing.Color

EnableFontHinting

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

The default is true.

This property is ignored if UseRenderingCache is true and UseGlyphBitmapCache is false.

public bool EnableFontHinting { get; set; }

Property Value

bool

InterpolationMode

Gets or sets the sampling mode to use when drawing images with resizing. Default is NearestNeighbor.

public InterpolationMode InterpolationMode { get; set; }

Property Value

InterpolationMode

Resolution

Gets or sets the resolution of the generated images. The default is 96.

public float Resolution { get; set; }

Property Value

float

UseGlyphBitmapCache

Gets 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 bool UseGlyphBitmapCache { get; set; }

Property Value

bool

UseRenderingCache

Gets or sets a value indicating whether to use the rendering cache.

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

public bool UseRenderingCache { get; set; }

Property Value

bool

Zoom

Gets or sets the zoom factor. The default is 1.

public float Zoom { get; set; }

Property Value

float