PageImageParams Class Documentation

classPageImageParams : SystemIDisposable

Namespace: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

signifier: 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: ColorSpace

The desired color space for the image, DEVICERGB, DEVICECMYK or DEVICEGRAY only.

Smoothing: SmoothFlags

Indicates 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: int

The desired witdth in pixels of the output image.

PixelHeight: int

The desired height in pixels of the output image.

HorizontalResolution: double

The desired horizontal resolution in pixels/inch of the output image. If you pass in 0.0, 300.0 dpi is used.

VerticalResolution: double

The desired vertical resolution in pixels/inch of the output image. If you pass in 0.0, 300.0 dpi is used.

PageDrawFlags: DrawFlags

An 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

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void