A utility method used to scale physical dimensions of the page including
all page content.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void Scale(
double sc
)
Public Sub Scale (
sc As Double
)
public:
virtual void Scale(
[InAttribute] double sc
) sealed
Parameters
- sc
- Type: SystemDouble
A number greater than 0 which is used as a scale factor.
For example, calling page.Scale(0.5) will reduce physical dimensions of the
page to half its original size, whereas page.Scale(2) will double the physical
dimensions of the page and will rescale all page content appropriately.
Remarks Unlike SetUserUnitSize(unit_size) which is only supported in PDF 1.6
(i.e. Acrobat 7) and above, page.Scale(sc) supports all PDF versions.
See Also