PdfRasterizer.Draw

Overloads

Draw(ImageFormat, ImageSize)Rasterizes all pages in the page list to an array of byte arrays containing the image data.
Draw(String, ImageFormat, ImageSize)Rasterizes all pages in the page list to an image and stores the image to the given filename.

Draw(ImageFormat, ImageSize)

Rasterizes all pages in the page list to an array of byte arrays containing the image data.

public Byte[][] Draw(ImageFormat imageFormat, ImageSize imageSize)
public Function Draw(imageFormat As ImageFormat, imageSize As ImageSize) As Byte[][]

Parameters

imageFormat
ImageFormat

Represents the image format to use.

imageSize
ImageSize

Represents image size to use.

Returns

Byte[][]

Returns the array of byte arrays containing the image data.

Licensing Info

This method is a DynamicPDF Rasterizer feature. One of the following is required for non-evaluation usage:

Draw(String, ImageFormat, ImageSize)

Rasterizes all pages in the page list to an image and stores the image to the given filename.

public void Draw(string fileName, ImageFormat imageFormat, ImageSize imageSize)
public Sub Draw(fileName As String, imageFormat As ImageFormat, imageSize As ImageSize)

Parameters

fileName
String

Physical file path of the image.

imageFormat
ImageFormat

Represents the image format to use.

imageSize
ImageSize

Represents image size to use.

Licensing Info

This method is a DynamicPDF Rasterizer feature. One of the following is required for non-evaluation usage:

See Also

PdfRasterizer
ceTe.DynamicPDF.Rasterizer

In this topic