PageImageParams Class Documentation
classPageImageParams : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Used to manage converting a PDF page to an image.
The Page Image Parameters are a set of parameters used to control converting a PDF page to an image, such as a PNG, JPG, or BMP. The parameters include pixel height & width, color space, resolution, so on.
Referenced by
Constructor & Destructor Documentation
PageImageParams
PageImageParams(PageImageParamsrhs, InternalConstructsignifier)Parameters
rhs: PageImageParamssignifier: InternalConstruct
PageImageParams
PageImageParams()Construct default PageImageParams.
Initializes with DeviceRGB color space, no smoothing, zero pixel dimensions, 300 dpi resolution, relative colorimetric render intent, and black point compensation enabled.
PageImageParams
PageImageParams(ColorSpaceColorSpace, SmoothFlagsSmoothing, intPixelWidth, intPixelHeight, doubleHorizontalResolution, doubleVerticalResolution, DrawFlagsPageDrawFlags)Parameters
ColorSpace: ColorSpaceThe desired color space for the image, DEVICERGB, DEVICECMYK or DEVICEGRAY only.
Smoothing: SmoothFlagsIndicates what parts of PDF Page (text, image, art, none) are to be smoothed in rendering to an image. Note these flags can be or'd together
PixelWidth: intThe desired witdth in pixels of the output image.
PixelHeight: intThe desired height in pixels of the output image.
HorizontalResolution: doubleThe desired horizontal resolution in pixels/inch of the output image. If you pass in 0.0, 300.0 dpi is used.
VerticalResolution: doubleThe desired vertical resolution in pixels/inch of the output image. If you pass in 0.0, 300.0 dpi is used.
PageDrawFlags: DrawFlagsAn OR of the flags from DrawFlags which control how the PDF page is to be drawn.
Set up the parameters for rendering a PDF page to an image.
Horizontal and Vertical Resolution have to be either both zero or both non-zero.
~PageImageParams
~PageImageParams()Property Documentation
BlackPointCompensation
boolBlackPointCompensation[get, set]BypassCopyPerm
boolBypassCopyPerm[get, set]CalibrateDeviceSpacesWhenPrinting
boolCalibrateDeviceSpacesWhenPrinting[get, set]HorizontalResolution
doubleHorizontalResolution[get, set]ICCProfile
ColorProfileICCProfile[get, set]ICCProfileCustomPath
stringICCProfileCustomPath[get, set]ImageColorSpace
ColorSpaceImageColorSpace[get, set]PageDrawFlags
DrawFlagsPageDrawFlags[get, set]PixelHeight
intPixelHeight[get, set]PixelWidth
intPixelWidth[get, set]RenderIntent
RenderIntentRenderIntent[get, set]Smoothing
SmoothFlagsSmoothing[get, set]ThinLineHeuristics
boolThinLineHeuristics[get, set]UseDeviceNForImageSeparations
boolUseDeviceNForImageSeparations[get, set]VerticalResolution
doubleVerticalResolution[get, set]Member Function Documentation
ConstructorRetrieve
static PageImageParamsConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
PageImageParamsDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
void