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)
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
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:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Rasterizer selected.
- A DynamicPDF Rasterizer for .NET v4.X Developer license.
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)
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:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Rasterizer selected.
- A DynamicPDF Rasterizer for .NET v4.X Developer license.