Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PrintCapabilities.PageScalingFactorRange Property

Gets the maximum and minimum percentages by which a printer can enlarge or reduce the print image on a page.

Namespace:  System.Printing
Assembly:  ReachFramework (in ReachFramework.dll)
'Declaration
Public ReadOnly Property PageScalingFactorRange As PageScalingFactorRange

Property Value

Type: System.Printing.PageScalingFactorRange
A PageScalingFactorRange object with MaximumScale and MinimumScale properties holding Int32 values that represent percentages.

This PageScalingFactorRange property generally represents the Print Schema's PageScaling keyword. But there are some complexities as follows.

  • If the PrintCapabilities document does not have a PageScaling element, or it has one, but neither its CustomSquare nor Custom options are defined; then the PageScalingFactorRange property is null.

  • In all other cases, the property's behavior is as follows.

    The MinimumScale property of the PrintCapabilities.PageScalingFactorRange property's PageScalingFactorRange object is the smallest of the following values.

    • The MinValue property of the PageScalingScaleWidth datatype that provides the value of the Custom option’s ScaleWidth  ScoredProperty.

    • The MinValue property of the PageScalingScaleHeight datatype that provides the value of the Custom option’s ScaleHeight  ScoredProperty.

    • The MinValue property of the PageScalingScale datatype that provides the value of the CustomSquare option’s Scale  ScoredProperty.

    The MaximumScale property of the PrintCapabilities.PageScalingFactorRange property's PageScalingFactorRange object is the largest of the following values.

    • The MaxValue property of the PageScalingScaleWidth datatype that provides the value of the Custom option’s ScaleWidth  ScoredProperty.

    • The MaxValue property of the PageScalingScaleHeight datatype that provides the value of the Custom option’s ScaleHeight  ScoredProperty.

    • The MaxValue property of the PageScalingScale datatype that provides the value of the CustomSquare option’s Scale  ScoredProperty.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft. All rights reserved.