Creates a custom scaling which scales the content according to the given scale factor.
Namespace:
DotNetBrowser.Print
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.22.1
Syntax public static Scaling Custom(
int scaleFactor
)
Parameters
- scaleFactor
- Type: SystemInt32
The scale factor to apply to the content, where is a normal size. Should
be in the range from to .
Return Value
Type:
ScalingThe scaling used for printing.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException |
The scaleFactor is out of range.
Should be in the range from to .
|
See Also