PrintCapabilities.PageScalingFactorRange Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum and minimum percentages by which a printer can enlarge or reduce the print image on a page.
public:
property System::Printing::PageScalingFactorRange ^ PageScalingFactorRange { System::Printing::PageScalingFactorRange ^ get(); };
public System.Printing.PageScalingFactorRange PageScalingFactorRange { get; }
member this.PageScalingFactorRange : System.Printing.PageScalingFactorRange
Public ReadOnly Property PageScalingFactorRange As PageScalingFactorRange
Property Value
A PageScalingFactorRange object with MaximumScale and MinimumScale properties holding Int32 values that represent percentages.
Remarks
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 ScaleWidthScoredProperty
.The MinValue property of the
PageScalingScaleHeight
datatype that provides the value of the Custom option's ScaleHeightScoredProperty
.The MinValue property of the
PageScalingScale
datatype that provides the value of the CustomSquare option's ScaleScoredProperty
.
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 ScaleWidthScoredProperty
.The MaxValue property of the
PageScalingScaleHeight
datatype that provides the value of the Custom option's ScaleHeightScoredProperty
.The MaxValue property of the
PageScalingScale
datatype that provides the value of the CustomSquare option's ScaleScoredProperty
.