このトピックは最新ではありません。 最新の情報については、「印刷スキーマ仕様」を参照してください。
出力の基準値の設定と基準値の特性について説明します。 ウォーターマークは、物理ページではなく論理ページに適用されます。 たとえば、DocumentDuplex が有効になっている場合、各シートの各 NUp ページに透かしが表示されます。 DocumentDuplex、PagesPerSheet=2 の場合、各シートには 2 つの透かしがあります。
要素情報
名前 | 価値 |
---|---|
要素の種類 |
特徴 |
スコープ プレフィックス |
ページ |
筆記 |
座標は PageImageableSize を基準にしています。基準値の原点は PageImageableSize の原点を基準とします。 |
構造コンテンツ
この要素の XML 構造は次のとおりです。
<psf:Feature name="psk:PageWatermark">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<psf:Option name="psk:_OptionName_">
<psf:Property name="psf:IdentityOption">
<psf:Value xsi:type="xs:string">_IdentityOptionValue_</psf:Value>
</psf:Property>
<!-- Defines the width origin of the watermark. See the PageWatermarkOriginWidth ParameterDefinition for more information. -->
<psf:ScoredProperty name="psk:OriginWidth">
<psf:ParameterRef name="psk:PageWatermarkOriginWidth" />
</psf:ScoredProperty>
<!-- Defines the height origin of the watermark. See the PageWatermarkOriginHeight ParameterDefinition for more information. -->
<psf:ScoredProperty name="psk:OriginHeight">
<psf:ParameterRef name="psk:PageWatermarkOriginHeight" />
</psf:ScoredProperty>
<!-- Defines the transparency value of the watermark. Transparency should be applied to all content, including transparent content. See the PageWatermarkTransparency ParameterDefinition for more information. -->
<psf:ScoredProperty name="psk:Transparency">
<psf:ParameterRef name="psk:PageWatermarkTransparency" />
</psf:ScoredProperty>
<!-- Defines the angle value of the watermark. See the PageWatermarkAngle ParameterDefinition for more information. -->
<psf:ScoredProperty name="psk:Angle">
<psf:ParameterRef name="psk:PageWatermarkAngle" />
</psf:ScoredProperty>
<!-- Applicable to options that include bitmaps. -->
<!-- Specifies the text font color -->
<!-- Applicable to options that include text. Defines the sRGB color for the watermark text. Format is ARGB: #AARRGGBB. -->
<psf:ScoredProperty name="psk:FontColor">
<psf:ParameterRef name="psk:PageWatermarkTextColor" />
</psf:ScoredProperty>
<!-- Applicable to options that include text. Defines the available font sizes for the watermark text. Measured in points.-->
<psf:ScoredProperty name="psk:FontSize">
<psf:ParameterRef name="psk:PageWatermarkTextFontSize" />
</psf:ScoredProperty>
<!-- Applicable to options that include text. Defines the text to be displayed in the watermark. -->
<psf:ScoredProperty name="psk:Text">
<psf:ParameterRef name="psk:PageWatermarkTextText" />
</psf:ScoredProperty>
</psf:Option>
<!--Defines the layering behavior of the watermark. -->
<psf:Feature name="psk:Layering">
<!-- Watermark appears over page content. -->
<psf:Option name="psk:Overlay" />
<!-- Watermark appear under page content. -->
<psf:Option name="psk:Underlay" />
</psf:Feature>
</psf:Feature>
構造体変数
次の表は、XML 構造体で定義されている変数の特性の概要を示しています。
名前 | データ型 | 単位 | サポートされている値 | 概要 |
---|---|---|---|---|
_OptionName_ |
糸 |
文字 |
XML の名前空間で定義されている有効な完全修飾名。 名前空間が指定されていない場合、既定の名前空間が想定されます。 |
オプションの名前。 |
_IdentityOptionValue_ |
糸 |
n/a |
True、False。 |
選択した場合にこの機能を無効にするオプションを定義します。 |
拡張マークアップ言語 (XML) コンテンツ
パブリック印刷スキーマ キーワードは、https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords
名前空間で定義されます。 このキーワードのパブリック拡張マークアップ言語 (XML) コンテンツを以下に定義します。
<psf:Feature name="psk:PageWatermark">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<!-- Specifies a text only watermark -->
<psf:Option name="psk:Text">
<psf:Property name="psf:IdentityOption">
<psf:Value xsi:type="xs:string">True</psf:Value>
</psf:Property>
<psf:ScoredProperty name="psk:OriginWidth">
<psf:ParameterRef name="psk:PageWatermarkOriginWidth" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:OriginHeight">
<psf:ParameterRef name="psk:PageWatermarkOriginHeight" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FontColor">
<psf:ParameterRef name="psk:PageWatermarkTextColor" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:FontSize">
<psf:ParameterRef name="psk:PageWatermarkTextFontSize" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:Text">
<psf:ParameterRef name="psk:PageWatermarkTextText" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:Transparency">
<psf:ParameterRef name="psk:PageWatermarkTransparency" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:Angle">
<psf:ParameterRef name="psk:PageWatermarkTextAngle" />
</psf:ScoredProperty>
</psf:Option>
<psf:Feature name="psk:Layering">
<!--Specifies Overlay Layering-->
<psf:Option name="psk:Overlay" />
<!--Specifies Underlay Layering-->
<psf:Option name="psk:Underlay" />
</psf:Feature>
</psf:Feature>