DrawParams Class Documentation
class DrawParams : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Settings for rendering PDF pages as images.
This is used for rendering PDF pages to images, such as PNG or JPG files, to export to separate files or to send to a printer.
Referenced by
Constructor & Destructor Documentation
DrawParams
DrawParams()Construct default DrawParams.
Initializes with DeviceRGB color space, relative colorimetric render intent, no smoothing, no draw flags, and no cancel or progress callbacks.
DrawParams
DrawParams(DrawParams rhs)Parameters
rhs: DrawParamsThe DrawParams to copy from.
Copy constructor.
Property Documentation
BypassCopyPerm
bool BypassCopyPerm[get, set]Bypass copy permissions. Only used when drawing to a bitmap.
CancelProc
CancelProc CancelProc[get, set]Get the cancel callback for rendering operations.
ColorSpace
ColorSpace ColorSpace[get, set]The color space in which the bitmap data is represented.
Must be one of DeviceGray, DeviceRGB, DeviceRGBA, DeviceCMYK, Lab, or LabA. Only used when drawing to a bitmap.
DestRect
Rect DestRect[get, set]The rectangle of the bitmap in device space coordinates.
Only used when drawing to a bitmap.
EnableBlackPointCompensation
bool EnableBlackPointCompensation[get, set]Enable/disable black point compensation.
EnableThinLineHeuristics
bool EnableThinLineHeuristics[get, set]Enable/disable thin line adjustments when drawing rectangles
Flags
DrawFlags Flags[get, set]Drawing flags.
ICCProfile
ColorProfile ICCProfile[get, set]The ICC Profile of the colorspace to be used for rendering, from a known value.
NOTE: The ICCProfileCustomPath must not be set for this property to be used. The profile must be compatible with the ColorSpace property value, which can't be set to ICCBased either.
ICCProfileCustomPath
string ICCProfileCustomPath[get, set]The ICC Profile of the colorspace to be used for rendering, from a custom file path.
NOTE: The ICCProfile is ignored when this property is a non-empty string. The profile must be compatible with the ColorSpace property value, which can't be set to ICCBased either.
Matrix
Matrix Matrix[get, set]The matrix to concatenate onto the default page matrix.
Useful for converting from page to window coordinates and for scaling.
OptionalContentContext
OptionalContentContext OptionalContentContext[get, set]Get the optional-content context used for visibility state information.
ProgressProc
RenderProgressProc ProgressProc[get, set]Get the progress callback for rendering operations.
RenderIntent
RenderIntent RenderIntent[get, set]Default rendering intent is RelColorimetric (relative colorimetric). Only used when drawing to a bitmap.
SmoothFlags
SmoothFlags SmoothFlags[get, set]Smoothing flags. Only used when drawing to a bitmap.
UpdateRect
Rect UpdateRect[get, set]The rectangle specifying the area to draw.
A rectangle represented by the coordinates of its four sides. If unset (degenerate), the page's CropBox is used instead.
Member Function Documentation
Dispose
void Dispose()Returns:
void