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
)
Public Sub SetImageSize (
width As Integer,
height As Integer,
preserveAspectRatio As Boolean,
removePadding As Boolean
)
public:
virtual void SetImageSize(
[InAttribute] int width,
[InAttribute] int height,
[InAttribute] bool preserveAspectRatio,
[InAttribute] bool removePadding
) sealed
function SetImageSize(width, height, preserveAspectRatio, 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