PageImageableSize

本主題不是最新的。 如需最新的資訊,請參閱 列印架構規格

描述配置和轉譯的影像畫布。 這會根據PageMediaSize和PageOrientation回報。

下圖說明根據PageOrientation的PageImageableSize變數使用方式。

顯示頁面度量的圖表

元素資訊

名字 價值
項目類型
財產
範圍前置詞

筆記
沒有

結構內容

這個專案的 XML 結構為:

<psf:Property name="psk:PageImageableSize">
  <psf:Property name="psk:ImageableSizeWidth">
    <psf:Value xsi:type="xs:integer">_ImageableSizeWidthValue_</psf:Value>
  </psf:Property>
  <psf:Property name="psk:ImageableSizeHeight">
    <psf:Value xsi:type="xs:integer">_ImageableSizeHeightValue_</psf:Value>
  </psf:Property>
  <!--Specifies the imageable area within the logical page.  -->
  <psf:Property name="psk:ImageableArea">
    <psf:Property name="psk:OriginWidth">
      <psf:Value xsi:type="xs:integer">_OriginWidthValue_</psf:Value>
    </psf:Property>
    <psf:Property name="psk:OriginHeight">
      <psf:Value xsi:type="xs:integer">_OriginHeightValue_</psf:Value>
    </psf:Property>
    <psf:Property name="psk:ExtentWidth">
      <psf:Value xsi:type="xs:integer">_ExtentWidthValue_</psf:Value>
    </psf:Property>
    <psf:Property name="psk:ExtentHeight">
      <psf:Value xsi:type="xs:integer">_ExtentHeightValue_</psf:Value>
    </psf:Property>
  </psf:Property>
</psf:Property>

結構變數

下表概述 XML 結構中定義的變數特性。

名字 數據類型 單位 支援的值 總結
_ImageableSizeWidthValue_
整數
微米
大於 0。
指定相對於PageOrientation的應用程式媒體大小水平維度。
_ImageableSizeHeightValue_
整數
微米
大於 0。
指定相對於PageOrientation的應用程式媒體大小垂直維度。
_OriginWidthValue_
整數
微米
大於或等於 0。
指定可影像區域相對於應用程式媒體大小的水準原點。
_OriginHeightValue_
整數
微米
大於或等於 0。
指定可影像區域相對於應用程式媒體大小的垂直原點。
_ExtentWidthValue_
整數
微米
大於 0。
指定原點與應用程式媒體大小的周框限制之間的水平距離。
_ExtentHeightValue_
整數
微米
大於 0。
指定原點與畫布應用程式媒體大小的周框限制之間的垂直距離。

可延伸標記語言 (XML) 內容

公用列印架構關鍵詞定義於 https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords 命名空間中。 此關鍵詞的公用 Extensible Markup Language (XML) 內容定義如下:

<psf:Property name="psk:PageImageableSize">
  <psf:Property name="psk:ImageableSizeWidth">
    <psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
  </psf:Property>
  <psf:Property name="psk:ImageableSizeHeight">
    <psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
  </psf:Property>
    <psf:Property name="psk:ImageableArea">
      <psf:Property name="psk:OriginWidth">
        <psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
      </psf:Property>
    <psf:Property name="psk:OriginHeight">
      <psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
    </psf:Property>
    <psf:Property name="psk:ExtentWidth">
      <psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
    </psf:Property>
    <psf:Property name="psk:ExtentHeight">
      <psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
    </psf:Property>
  </psf:Property>
</psf:Property>
  

列印架構規格