Click or drag to resize

PDFDrawSetImageSize Method (Int32, Int32, Boolean, Boolean)

Sets the image size.

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

Parameters

width
Type: SystemInt32
The width of the image.
height
Type: SystemInt32
The height of the image.
preserveAspectRatio
Type: SystemBoolean
Whether to preserve the aspect ratio.
removePadding
Type: SystemBoolean
Whether to remove the padding.
See Also