Scale the width and height of an image to a certain percentage.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public void ScalePercent(
	float percentX,
	float percentY
)
Visual Basic
Public Sub ScalePercent ( _
	percentX As Single, _
	percentY As Single _
)
Visual C++
public:
void ScalePercent(
	float percentX, 
	float percentY
)

Parameters

percentX
Type: System..::..Single
the scaling percentage of the width
percentY
Type: System..::..Single
the scaling percentage of the height

See Also