PrintCapabilities.PageScalingFactorRange 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得最大和最小百分比,使印表機可以據此放大或縮小頁面上的列印影像。
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
屬性值
具有 PageScalingFactorRange 和 MaximumScale 屬性的 MinimumScale 物件,這個物件含有表示百分比的 Int32 值。
備註
此屬性 PageScalingFactorRange 通常代表 列印架構的 PageScaling
關鍵詞。 但有一些複雜之處,如下所示。
如果 PrintCapabilities 檔沒有 元素,或是它沒有
PageScaling
元素,但未定義其 CustomSquare 或 Custom 選項,則 PageScalingFactorRange 屬性為 null。在所有其他情況下,屬性的行為如下。
屬性MinimumScale對象的 PageScalingFactorRange 屬性PrintCapabilities.PageScalingFactorRange是下列值中最小的值。
數據類型的
PageScalingScaleWidth
MinValue屬性,提供 Custom 選項的 ScaleWidthScoredProperty
值。數據類型的
PageScalingScaleHeight
MinValue屬性,提供 Custom 選項的 ScaleHeightScoredProperty
值。數據類型的
PageScalingScale
MinValue屬性,提供 CustomSquare 選項的 ScaleScoredProperty
值。
屬性MaximumScale對象的 PageScalingFactorRange 屬性PrintCapabilities.PageScalingFactorRange是下列值的最大值。
數據類型的
PageScalingScaleWidth
MaxValue 屬性,提供 Custom 選項的 ScaleWidthScoredProperty
值。數據類型的
PageScalingScaleHeight
MaxValue 屬性,提供 Custom 選項的 ScaleHeightScoredProperty
值。數據類型的
PageScalingScale
MaxValue 屬性,提供 CustomSquare 選項的 ScaleScoredProperty
值。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應