PageImageParams Class Documentation

class PageImageParams : 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()

PageImageParams

PageImageParams(ColorSpace ColorSpace, SmoothFlags Smoothing, int PixelWidth, int PixelHeight, double HorizontalResolution, double VerticalResolution, DrawFlags PageDrawFlags)

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.

Property Documentation

BlackPointCompensation

bool BlackPointCompensation[get, set]

BypassCopyPerm

bool BypassCopyPerm[get, set]

CalibrateDeviceSpacesWhenPrinting

bool CalibrateDeviceSpacesWhenPrinting[get, set]

HorizontalResolution

double HorizontalResolution[get, set]

ICCProfile

ColorProfile ICCProfile[get, set]

ICCProfileCustomPath

string ICCProfileCustomPath[get, set]

ImageColorSpace

ColorSpace ImageColorSpace[get, set]

PageDrawFlags

DrawFlags PageDrawFlags[get, set]

PixelHeight

int PixelHeight[get, set]

PixelWidth

int PixelWidth[get, set]

RenderIntent

RenderIntent RenderIntent[get, set]

Smoothing

SmoothFlags Smoothing[get, set]

ThinLineHeuristics

bool ThinLineHeuristics[get, set]

UseDeviceNForImageSeparations

bool UseDeviceNForImageSeparations[get, set]

VerticalResolution

double VerticalResolution[get, set]

Member Function Documentation

Dispose

void Dispose()

Returns:

void