[]
Represents options that are used when a redact action requires that some PDF content is rendered as an image.
public class RedactOptions.RenderOptionsDef
public RenderOptionsDef()
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; }
Gets or sets the background color. The default is white.
public Color BackColor { get; set; }
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; }
Gets or sets the sampling mode to use when drawing images with resizing. Default is NearestNeighbor.
public InterpolationMode InterpolationMode { get; set; }
Gets or sets the resolution of the generated images. The default is 96.
public float Resolution { get; set; }
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; }
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; }
Gets or sets the zoom factor. The default is 1.
public float Zoom { get; set; }