Click or drag to resize
Pdf Library for .NET

PdfElementScale Method

Scales the coordinate system before rendering the pdf element.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public void Scale(
	float sx,
	float sy
)

Parameters

sx
Type: SystemSingle
The value by which to scale the coordinate system on the x-axis direction.
sy
Type: SystemSingle
The value by which to scale the coordinate system on the y-axis direction.
Remarks
The coordinates are scaled so that 1 unit in the horizontal and vertical direction of the new coordinate system is the same size as sx and sy units respectively, in the previous coordinate system.
See Also