PrintCapabilities.PageScalingFactorRange 屬性

定義

取得印表機可以放大或減少頁面上列印影像的最大和最小百分比。

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

屬性值

具有 MaximumScaleMinimumScale 屬性的 PageScalingFactorRange 物件,其中含有代表百分比 Int32 值。

備註

這個 PageScalingFactorRange 屬性通常代表 列印架構PageScaling 關鍵詞。 但有一些複雜性,如下所示。

  • 如果 PrintCapabilities 檔沒有 PageScaling 專案,或沒有 PageScaling 專案,但未定義其 CustomSquareCustom 選項;則 PageScalingFactorRange 屬性為 null。

  • 在其他所有情況下,屬性的行為如下。

    PrintCapabilities.PageScalingFactorRange 屬性 PageScalingFactorRange 物件的 MinimumScale 屬性是下列值中最小的一個。

    • PageScalingScaleWidth 數據類型的 MinValue 屬性,提供 Custom 選項的 ScaleWidthScoredProperty值。

    • PageScalingScaleHeight 數據類型的 MinValue 屬性,提供 Custom 選項 ScaleHeightScoredProperty的值。

    • PageScalingScale 數據類型的 MinValue 屬性,提供 CustomSquare 選項 ScaleScoredProperty的值。

    PrintCapabilities.PageScalingFactorRange 屬性 PageScalingFactorRange 物件的 MaximumScale 屬性是下列值中最大的一個。

    • PageScalingScaleWidth 數據類型的 MaxValue 屬性,提供 Custom 選項的 ScaleWidthScoredProperty值。

    • PageScalingScaleHeight 數據類型的 MaxValue 屬性,提供 Custom 選項 ScaleHeightScoredProperty的值。

    • PageScalingScale 數據類型的 MaxValue 屬性,提供 CustomSquare 選項 ScaleScoredProperty的值。

適用於