PDFRasterizer Class |
Namespace: pdftron.PDF
public sealed class PDFRasterizer : IClosable
The PDFRasterizer type exposes the following members.
Name | Description | |
---|---|---|
PDFRasterizer | empty PDFRasterizer constructor
| |
PDFRasterizer(PDFRasterizerType) | instantiates PDFRasterizer with specified type
|
Name | Description | |
---|---|---|
CancelRendering | Cancel the rendering in progress. | |
Close | ||
Equals | (Inherited from Object.) | |
GetColorPostProcessMode | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRasterizerType | Gets the type of current rasterizer.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Rasterize | Draws the page into a given memory buffer.
| |
RasterizeSeparations |
Draws the page into a given memory buffer (Separation)
| |
SetAntiAliasing | Enable or disable anti-aliasing. Anti-Aliasing is a technique used to improve the visual quality of images
when displaying them on low resolution devices (for example, low DPI computer monitors). Anti-aliasing is
enabled by default.
| |
SetBackgroundColor |
Sets the background colors for the Rasterizer
The Rasterizer will start initialize the entire buffer with this color
The default is transparent (each byte is 0)
| |
SetCaching | Sets the caching.
| |
SetColorPostProcessColors |
Set the color post processing transformation.
This transform is applied to the rasterized bitmap as the final step
in the rasterization process, and is applied directly to the resulting
bitmap(disregarding any color space information). Color post
processing only supported for RGBA output.
This mode will map the brightness of the original rasterized bitmap to a gradient
between whiteColor and blackColor
| |
SetColorPostProcessMode |
Draws the page into a given memory buffer.
Set the color post processing transformation.
This transform is applied to the rasterized bitmap as the final step
in the rasterization process, and is applied directly to the resulting
bitmap (disregarding any color space information). Color post
processing only supported for RGBA output.
| |
SetDrawAnnotations | Enable or disable annotation and forms rendering. By default, annotations and forms are rendered.
| |
SetGamma | Sets the gamma factor used for anti-aliased rendering.
| |
SetHighlightFields | Enable or disable highlighting form fields. Default is disabled.
| |
SetImageSmoothing | Enable or disable image smoothing.
The rasterizer allows a tradeoff between rendering quality and rendering speed.
This function can be used to indicate the preference between rendering speed and quality.image smoothing is enabled by default.
| |
SetOCGContext | ||
SetOverprint | Enable or disable support for overprint. Overprint is a device dependent feature and the results will vary depending on the output color space and supported colorants (i.e. CMYK, CMYK+spot, RGB, etc). By default overprint is enabled for only PDF/X files.
| |
SetPathHinting | Enable or disable path hinting. Path hinting is used to slightly adjust paths in order to avoid or alleviate artifacts of hair line cracks between
certain graphical elements. This option is turned on by default.
| |
SetPrintMode | Tells the rasterizer to render the page 'print' mode.
Certain page elements (such as annotations or OCG-s) are meant to be visible either on the
screen or on the printed paper but not both. A common example, is the "Submit" button on electronic forms.
| |
SetRasterizerType | Sets rasterizer to the specified type
| |
SetThinLineAdjustment | Set thin line adjustment parameters.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |