PageScaling
Cette rubrique n’est pas à jour. Pour obtenir les informations les plus récentes, consultez la spécification du schéma d’impression.
Décrit les caractéristiques de mise à l’échelle de la sortie. Certaines options de cette fonctionnalité requièrent que le consommateur soit en mesure de déterminer les caractéristiques des « dimensions de contenu de l’application ». En l’absence de la possibilité de déterminer ces caractéristiques, le consommateur doit avoir comme valeur par défaut l’option Identity. Ces caractéristiques sont les suivantes :
| Caractéristiques de la mise à l’échelle | Description |
|---|---|
| Taille du média d’application | Dimensions des médias définies par la disposition de l’application. La taille du média d’application peut ou ne peut pas correspondre à un PageMediaSize pris en charge par le consommateur. |
| Taille du contenu de l’application | Dimensions des médias définies par la disposition de l’application. La taille du média d’application peut ou ne peut pas correspondre à un PageMediaSize pris en charge par le consommateur. |
| Taille du fond perdu de l’application | Le décalage et l’étendue de la zone de fond perdu de l’application, une zone de dépassement de capacité utilisée par l’application pour l’inscription et la mise en page, par rapport à la taille du support d’application. La zone de fond perdu est supérieure ou égale à la taille du média de l’application. |
Informations sur les éléments
| Nom | Valeur |
|---|---|
| Type d'élément |
Fonctionnalité |
| Préfixe d’étendue |
Page |
| Remarques |
Haut, bas, gauche et droite sont relatifs à PageImageableSize. Les coordonnées sont relatives à PageImageableSize, où l’origine de est relative à l’origine du PageImageableSize. |
Contenu structurel
La structure XML de cet élément est :
<psf:Feature name="psk:PageScaling">
<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>
<!-- Specifies offset of the width relative to the PageImageableSize.
Measured in microns. -->
<psf:ScoredProperty name="psk:OffsetWidth">
<psf:ParameterRef name="psk:PageScalingOffsetWidth" />
</psf:ScoredProperty>
<!-- Specifies offset of the height relative to the PageImageableSize.
Measured in microns. -->
<psf:ScoredProperty name="psk:OffsetHeight">
<psf:ParameterRef name="psk:PageScalingOffsetHeight" />
</psf:ScoredProperty>
<!-- Specifies the scaling percentage for the width dimension relative to the PageImageableSize. -->
<psf:ScoredProperty name="psk:ScaleWidth">
<psf:ParameterRef name="psk:PageScalingScaleWidth" />
</psf:ScoredProperty>
<!-- Specifies the scaling percentage for the height dimension relative to the PageImageableSize. -->
<psf:ScoredProperty name="psk:ScaleHeight">
<psf:ParameterRef name="psk:PageScalingScaleHeight" />
</psf:ScoredProperty>
<!-- Specifies the scaling percentage for square scaling (both dimensions are scaled equally). -->
<psf:ScoredProperty name="psk:Scale">
<psf:ParameterRef name="psk:PageScalingScale" />
</psf:ScoredProperty>
</psf:Option>
<!-- Specifies the alignment of the scaled content. -->
<psf:Feature name="psk:ScaleOffsetAlignment">
<!-- Specifies the scaling should be aligned on the center of the bottom edge of the media. -->
<psf:Option name="psk:BottomCenter"/>
<!-- Specifies the scaling should be aligned on the bottom left corner of the media. -->
<psf:Option name="psk:BottomLeft" />
<!-- Specifies the scaling should be aligned on the bottom right corner of the media. -->
<psf:Option name="psk:BottomRight "/>
<!-- Specifies the scaling should be aligned on the bottom right corner of the media. -->
<psf:Option name="psk:Center"/>
<!-- Specifies the scaling should be aligned on the center of the left edge of the media. -->
<psf:Option name="psk:LeftCenter"/>
<!-- Specifies the scaling should be aligned on the center of the right edge of the media. -->
<psf:Option name="psk:RightCenter"/>
<!-- Specifies the scaling should be aligned on the center of the top edge of the media. -->
<psf:Option name="psk:TopCenter"/>
<!-- Specifies the scaling should be aligned on the top left corner of the media. -->
<psf:Option name="psk:TopLeft"/>
<!-- Specifies the scaling should be aligned on the top right corner of the media. -->
<psf:Option name="psk:TopRight"/>
</psf:Feature>
</psf:Feature>
Variables de structure
Le tableau suivant présente les caractéristiques des variables définies dans la structure XML.
| Nom | Type de données | Unité | Valeurs prises en charge | Résumé |
|---|---|---|---|---|
| _OptionName_ |
string |
caractères |
Nom complet valide tel que défini par les espaces de noms dans XML. Si aucun espace de noms n’est spécifié, l’espace de noms par défaut est utilisé. |
Nom de l'option. |
| _IdentityOptionValue_ |
string |
n/a |
True, False. |
Définit une option qui, lorsqu’elle est sélectionnée, désactive cette fonctionnalité. |
Contenu Extensible Markup Language (XML)
Les mots clés de schéma d’impression publics sont définis dans l' https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords espace de noms. Le contenu de la Extensible Markup Language publique (XML) pour ce mot clé est défini ci-dessous :
<psf:Feature name="psk:PageScaling">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<psf:Option name="psk:Custom">
<psf:ScoredProperty name="psk:OffsetWidth">
<psf:ParameterRef name="psk:PageScalingOffsetWidth" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:OffsetHeight">
<psf:ParameterRef name="psk:PageScalingOffsetHeight" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:ScaleWidth">
<psf:ParameterRef name="psk:PageScalingScaleWidth" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:ScaleHeight">
<psf:ParameterRef name="psk:PageScalingScaleHeight" />
</psf:ScoredProperty>
</psf:Option>
<!-- Specifies a custom square scaling should be applied to the Application Media Size. -->
<psf:Option name="psk:CustomSquare">
<psf:ScoredProperty name="psk:OffsetWidth">
<psf:ParameterRef name="psk:PageScalingOffsetWidth" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:OffsetHeight">
<psf:ParameterRef name="psk:PageScalingOffsetHeight" />
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:Scale">
<psf:ParameterRef name="psk:PageScalingScale" />
</psf:ScoredProperty>
</psf:Option>
<!-- Specifies the application bleed size should be scaled to the PageImageableSize preserving the aspect ratio. -->
<psf:Option name="psk:FitApplicationBleedSizeToPageImageableSize" />
<!-- Specifies the application content size should be scaled to the PageImageableSize preserving the aspect ratio. -->
<psf:Option name="psk:FitApplicationContentSizeToPageImageableSize" />
<!-- Specifies the application media size should be scaled to the PageImageableSize preserving the aspect ratio. -->
<psf:Option name="psk:FitApplicationMediaSizeToPageImageableSize" />
<!-- Specifies the application media size should be scaled to the PageMediaSize preserving the aspect ratio. -->
<psf:Option name="psk:FitApplicationMediaSizeToPageMediaSize" />
<!-- Specifies that no scaling should be applied. -->
<psf:Option name="psk:None" />
<!-- Specifies the alignment of the scaled content. -->
<psf:Feature name="psk:ScaleOffsetAlignment">
<!-- Specifies the scaling should be aligned on the center of the bottom edge of the media. -->
<psf:Option name="psk:BottomCenter" />
<!-- Specifies the scaling should be aligned on the bottom left corner of the media.-->
<psf:Option name="psk:BottomLeft" />
<!--Specifies the scaling should be aligned on the bottom right corner of the media.-->
<psf:Option name="psk:BottomRight" />
<!-- Specifies the scaling should be centered on the media.-->
<psf:Option name="psk:Center" />
<!-- Specifies the scaling should be aligned on the center of the left edge of the media.-->
<psf:Option name="psk:LeftCenter" />
<!--Specifies the scaling should be aligned on the center of the right edge of the media.-->
<psf:Option name="psk:RightCenter" />
<!-- Specifies the scaling should be aligned on the center of the top edge of the media.-->
<psf:Option name="psk:TopCenter" />
<!-- Specifies the scaling should be aligned on the top left corner of the media.-->
<psf:Option name="psk:TopLeft" />
<!-- Specifies the scaling should be aligned on the top right corner of the media.-->
<psf:Option name="psk:TopRight" />
</psf:Feature>
</psf:Feature>