Click or drag to resize

PDFDrawSetImageSize Method (Int32, Int32)

Sets the size of the image.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetImageSize(
	int width,
	int height
)

Parameters

width
Type: SystemInt32
The width of the image, in pixels/samples.
height
Type: SystemInt32
The height of the image, in pixels/samples.
Remarks
SetImageSize can be used instead of SetDPI() to adjust page scaling so that image fits into a buffer of given dimensions. If this function is used, DPI will be calculated dynamically for each page so that every page fits into the buffer of given dimensions.
See Also