Typography, classe
TOC
Réduire la table des matières
Développer la table des matières

Typographie Class

Donne accès à un ensemble de propriétés typographiques Microsoft OpenType. Ces propriétés sont implémentées en tant que propriétés jointes XAML de sorte qu'elles peuvent être définies à partir des propriétés de modèle d'objet de texte et des contrôles de texte spécifiques.

Héritage

Object
  Typography

Syntaxe


public sealed class Typography

Attributs

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Membres

TypographyClasse possède ces types de membres :

Méthodes

The Typography Classe a les méthodes suivantes. Elle hérite également des méthodes de Object Classe.

MéthodeDescription
GetAnnotationAlternates Returns the value of the AnnotationAlternates attached property for a specified dependency object.
GetCapitals Returns the value of the Capitals attached property for a specified dependency object.
GetCapitalSpacing Returns the value of the CapitalSpacing attached property for a specified dependency object.
GetCaseSensitiveForms Returns the value of the CaseSensitiveForms attached property for a specified dependency object.
GetContextualAlternates Returns the value of the ContextualAlternates attached property for a specified dependency object.
GetContextualLigatures Returns the value of the ContextualLigatures attached property for a specified dependency object.
GetContextualSwashes Returns the value of the ContextualSwashes attached property for a specified dependency object.
GetDiscretionaryLigatures Returns the value of the DiscretionaryLigatures attached property for a specified dependency object.
GetEastAsianExpertForms Returns the value of the EastAsianExpertForms attached property for a specified dependency object.
GetEastAsianLanguage Returns the value of the EastAsianLanguage attached property for a specified dependency object.
GetEastAsianWidths Returns the value of the EastAsianWidths attached property for a specified dependency object.
GetFraction Returns the value of the Fraction attached property for a specified dependency object.
GetHistoricalForms Returns the value of the HistoricalForms attached property for a specified dependency object.
GetHistoricalLigatures Returns the value of the HistoricalLigatures attached property for a specified dependency object.
GetKerning Returns the value of the Kerning attached property for a specified dependency object.
GetMathematicalGreek Returns the value of the MathematicalGreek attached property for a specified dependency object.
GetNumeralAlignment Returns the value of the NumeralAlignment attached property for a specified dependency object.
GetNumeralStyle Returns the value of the NumeralStyle attached property for a specified dependency object.
GetSlashedZero Returns the value of the SlashedZero attached property for a specified dependency object.
GetStandardLigatures Returns the value of the StandardLigatures attached property for a specified dependency object.
GetStandardSwashes Returns the value of the StandardSwashes attached property for a specified dependency object.
GetStylisticAlternates Returns the value of the StylisticAlternates attached property for a specified dependency object.
GetStylisticSet1 Returns the value of the StylisticSet1 attached property for a specified dependency object.
GetStylisticSet10 Returns the value of the StylisticSet10 attached property for a specified dependency object.
GetStylisticSet11 Returns the value of the StylisticSet11 attached property for a specified dependency object.
GetStylisticSet12 Returns the value of the StylisticSet12 attached property for a specified dependency object.
GetStylisticSet13 Returns the value of the StylisticSet13 attached property for a specified dependency object.
GetStylisticSet14 Returns the value of the StylisticSet14 attached property for a specified dependency object.
GetStylisticSet15 Returns the value of the StylisticSet15 attached property for a specified dependency object.
GetStylisticSet16 Returns the value of the StylisticSet16 attached property for a specified dependency object.
GetStylisticSet17 Returns the value of the StylisticSet17 attached property for a specified dependency object.
GetStylisticSet18 Returns the value of the StylisticSet18 attached property for a specified dependency object.
GetStylisticSet19 Returns the value of the StylisticSet19 attached property for a specified dependency object.
GetStylisticSet2 Returns the value of the StylisticSet2 attached property for a specified dependency object.
GetStylisticSet20 Returns the value of the StylisticSet20 attached property for a specified dependency object.
GetStylisticSet3 Returns the value of the StylisticSet3 attached property for a specified dependency object.
GetStylisticSet4 Returns the value of the StylisticSet4 attached property for a specified dependency object.
GetStylisticSet5 Returns the value of the StylisticSet5 attached property for a specified dependency object.
GetStylisticSet6 Returns the value of the StylisticSet6 attached property for a specified dependency object.
GetStylisticSet7 Returns the value of the StylisticSet7 attached property for a specified dependency object.
GetStylisticSet8 Returns the value of the StylisticSet8 attached property for a specified dependency object.
GetStylisticSet9 Returns the value of the StylisticSet9 attached property for a specified dependency object.
GetVariants Returns the value of the Variants attached property for a specified dependency object.
SetAnnotationAlternates Sets the value of the AnnotationAlternates attached property for a specified dependency object.
SetCapitals Sets the value of the Capitals attached property for a specified dependency object.
SetCapitalSpacing Sets the value of the CapitalSpacing attached property for a specified dependency object.
SetCaseSensitiveForms Sets the value of the CaseSensitiveForms attached property for a specified dependency object.
SetContextualAlternates Sets the value of the ContextualAlternates attached property for a specified dependency object.
SetContextualLigatures Sets the value of the ContextualLigatures attached property for a specified dependency object.
SetContextualSwashes Sets the value of the ContextualSwashes attached property for a specified dependency object.
SetDiscretionaryLigatures Sets the value of the DiscretionaryLigatures attached property for a specified dependency object.
SetEastAsianExpertForms Sets the value of the EastAsianExpertForms attached property for a specified dependency object.
SetEastAsianLanguage Sets the value of the EastAsianLanguage attached property for a specified dependency object.
SetEastAsianWidths Sets the value of the EastAsianWidths attached property for a specified dependency object.
SetFraction Sets the value of the Fraction attached property for a specified dependency object.
SetHistoricalForms Sets the value of the HistoricalForms attached property for a specified dependency object.
SetHistoricalLigatures Sets the value of the HistoricalLigatures attached property for a specified dependency object.
SetKerning Sets the value of the Kerning attached property for a specified dependency object.
SetMathematicalGreek Sets the value of the MathematicalGreek attached property for a specified dependency object.
SetNumeralAlignment Sets the value of the NumeralAlignment attached property for a specified dependency object.
SetNumeralStyle Sets the value of the NumeralStyle attached property for a specified dependency object.
SetSlashedZero Sets the value of the SlashedZero attached property for a specified dependency object.
SetStandardLigatures Sets the value of the StandardLigatures attached property for a specified dependency object.
SetStandardSwashes Sets the value of the StandardSwashes attached property for a specified dependency object.
SetStylisticAlternates Sets the value of the StylisticAlternates attached property for a specified dependency object.
SetStylisticSet1 Sets the value of the StylisticSet1 attached property for a specified dependency object.
SetStylisticSet10 Sets the value of the StylisticSet10 attached property for a specified dependency object.
SetStylisticSet11 Sets the value of the StylisticSet11 attached property for a specified dependency object.
SetStylisticSet12 Sets the value of the StylisticSet12 attached property for a specified dependency object.
SetStylisticSet13 Sets the value of the StylisticSet13 attached property for a specified dependency object.
SetStylisticSet14 Sets the value of the StylisticSet14 attached property for a specified dependency object.
SetStylisticSet15 Sets the value of the StylisticSet15 attached property for a specified dependency object.
SetStylisticSet16 Sets the value of the StylisticSet16 attached property for a specified dependency object.
SetStylisticSet17 Sets the value of the StylisticSet17 attached property for a specified dependency object.
SetStylisticSet18 Sets the value of the StylisticSet18 attached property for a specified dependency object.
SetStylisticSet19 Sets the value of the StylisticSet19 attached property for a specified dependency object.
SetStylisticSet2 Sets the value of the StylisticSet2 attached property for a specified dependency object.
SetStylisticSet20 Sets the value of the StylisticSet20 attached property for a specified dependency object.
SetStylisticSet3 Sets the value of the StylisticSet3 attached property for a specified dependency object.
SetStylisticSet4 Sets the value of the StylisticSet4 attached property for a specified dependency object.
SetStylisticSet5 Sets the value of the StylisticSet5 attached property for a specified dependency object.
SetStylisticSet6 Sets the value of the StylisticSet6 attached property for a specified dependency object.
SetStylisticSet7 Sets the value of the StylisticSet7 attached property for a specified dependency object.
SetStylisticSet8 Sets the value of the StylisticSet8 attached property for a specified dependency object.
SetStylisticSet9 Sets the value of the StylisticSet9 attached property for a specified dependency object.
SetVariants Sets the value of the Variants attached property for a specified dependency object.

 

Propriétés jointes

Le TypographyClasse has these attached properties.

Type d'accèsDescription

Typography.AnnotationAlternates

Lecture/écritureGets or sets a value that specifies the index of an alternate annotation form.

Typography.Capitals

Lecture/écritureGets or sets a FontCapitals value that indicates the capital form of the selected font.

Typography.CapitalSpacing

Lecture/écritureGets or sets a value that determines whether inter-glyph spacing for all-capital text is globally adjusted to improve readability.

Typography.CaseSensitiveForms

Lecture/écritureGets or sets a value that determines whether glyphs adjust their vertical position to better align with uppercase glyphs.

Typography.ContextualAlternates

Lecture/écritureGets or sets a value that determines whether custom glyph forms can be used based upon the context of the text being rendered.

Typography.ContextualLigatures

Lecture/écritureGets or sets a value that determines whether contextual ligatures are enabled.

Typography.ContextualSwashes

Lecture/écritureGets or sets a value that specifies the index of a contextual swashes form.

Typography.DiscretionaryLigatures

Lecture/écritureGets or sets a value that determines whether discretionary ligatures are enabled.

Typography.EastAsianExpertForms

Lecture/écritureGets or sets a value that determines whether the standard Japanese font forms have been replaced with the corresponding preferred typographic forms.

Typography.EastAsianLanguage

Lecture/écritureGets or sets a FontEastAsianLanguage value that indicates glyphs used for a specific writing system or language.

Typography.EastAsianWidth

Lecture/écritureGets or sets a FontEastAsianWidths value that indicates the proportional width for Latin characters in an East Asian font.

Typography.Fraction

Lecture/écritureGets or sets a FontFraction value that indicates the fraction style.

Typography.HistoricalForms

Lecture/écritureGets or sets a value that determines whether historical forms are enabled.

Typography.HistoricalLigatures

Lecture/écritureGets or sets a value that indicates whether historical ligatures are enabled.

Typography.Kerning

Lecture/écritureGets or sets a value that indicates whether kerning is enabled.

Typography.MathematicalGreek

Lecture/écritureGets or sets a value that indicates whether standard typographic font forms of Greek glyphs have been replaced with corresponding font forms commonly used in mathematical notation.

Typography.NumeralAlignment

Lecture/écritureGets or sets a FontNumeralAlignment value that indicates the alignment of widths for numerals.

Typography.NumeralStyle

Lecture/écritureGets or sets a FontNumeralStyle value that determines the set of glyphs that are used to render numeric alternate font forms.

Typography.SlashedZero

Lecture/écritureGets or sets a value that indicates whether a nominal zero font form should be replaced with a slashed zero.

Typography.StandardLigatures

Lecture/écritureGets or sets a value that indicates whether standard ligatures are enabled.

Typography.StandardSwashes

Lecture/écritureGets or sets a value that specifies the index of a standard swashes form.

Typography.StylisticAlternates

Lecture/écritureGets or sets a value that specifies the index of a stylistic alternates form.

Typography.StylisticSet1

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet10

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet11

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet12

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet13

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet14

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet15

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet16

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet17

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet18

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet19

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet2

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet20

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet3

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet4

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet5

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet6

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet7

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet8

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.StylisticSet9

Lecture/écritureGets or sets a value that indicates whether a stylistic set of a font form is enabled.

Typography.Variants

Lecture/écritureGets or sets a FontVariants value that indicates a variation of the standard typographic form to be used.

 

Propriétés

Le TypographyClasse a les propriétés suivantes.

PropriétéType d'accèsDescription

AnnotationAlternatesProperty

En lecture seuleIdentifies the AnnotationAlternates attached property.

CapitalSpacingProperty

En lecture seuleIdentifies the CapitalSpacing attached property.

CapitalsProperty

En lecture seuleIdentifies the Capitals attached property.

CaseSensitiveFormsProperty

En lecture seuleIdentifies the CaseSensitiveForms attached property.

ContextualAlternatesProperty

En lecture seuleIdentifies the ContextualAlternates attached property.

ContextualLigaturesProperty

En lecture seuleIdentifies the ContextualLigatures attached property.

ContextualSwashesProperty

En lecture seuleIdentifies the ContextualSwashes attached property.

DiscretionaryLigaturesProperty

En lecture seuleIdentifies the DiscretionaryLigatures attached property.

EastAsianExpertFormsProperty

En lecture seuleIdentifies the EastAsianExpertForms attached property.

EastAsianLanguageProperty

En lecture seuleIdentifies the EastAsianLanguage attached property.

EastAsianWidthsProperty

En lecture seuleIdentifies the EastAsianWidths attached property.

FractionProperty

En lecture seuleIdentifies the Fraction attached property.

HistoricalFormsProperty

En lecture seuleIdentifies the HistoricalForms attached property.

HistoricalLigaturesProperty

En lecture seuleIdentifies the HistoricalLigatures attached property.

KerningProperty

En lecture seuleIdentifies the Kerning attached property.

MathematicalGreekProperty

En lecture seuleIdentifies the MathematicalGreek attached property.

NumeralAlignmentProperty

En lecture seuleIdentifies the NumeralAlignment attached property.

NumeralStyleProperty

En lecture seuleIdentifies the NumeralStyle attached property.

SlashedZeroProperty

En lecture seuleIdentifies the SlashedZero attached property.

StandardLigaturesProperty

En lecture seuleIdentifies the StandardLigatures attached property.

StandardSwashesProperty

En lecture seuleIdentifies the StandardSwashes attached property.

StylisticAlternatesProperty

En lecture seuleIdentifies the StylisticAlternates attached property.

StylisticSet10Property

En lecture seuleIdentifies the StylisticSet10 attached property.

StylisticSet11Property

En lecture seuleIdentifies the StylisticSet11 attached property.

StylisticSet12Property

En lecture seuleIdentifies the StylisticSet12 attached property.

StylisticSet13Property

En lecture seuleIdentifies the StylisticSet13 attached property.

StylisticSet14Property

En lecture seuleIdentifies the StylisticSet14 attached property.

StylisticSet15Property

En lecture seuleIdentifies the StylisticSet15 attached property.

StylisticSet16Property

En lecture seuleIdentifies the StylisticSet16 attached property.

StylisticSet17Property

En lecture seuleIdentifies the StylisticSet17 attached property.

StylisticSet18Property

En lecture seuleIdentifies the StylisticSet18 attached property.

StylisticSet19Property

En lecture seuleIdentifies the StylisticSet19 attached property.

StylisticSet1Property

En lecture seuleIdentifies the StylisticSet1 attached property.

StylisticSet20Property

En lecture seuleIdentifies the StylisticSet20 attached property.

StylisticSet2Property

En lecture seuleIdentifies the StylisticSet2 attached property.

StylisticSet3Property

En lecture seuleIdentifies the StylisticSet3 attached property.

StylisticSet4Property

En lecture seuleIdentifies the StylisticSet4 attached property.

StylisticSet5Property

En lecture seuleIdentifies the StylisticSet5 attached property.

StylisticSet6Property

En lecture seuleIdentifies the StylisticSet6 attached property.

StylisticSet7Property

En lecture seuleIdentifies the StylisticSet7 attached property.

StylisticSet8Property

En lecture seuleIdentifies the StylisticSet8 attached property.

StylisticSet9Property

En lecture seuleIdentifies the StylisticSet9 attached property.

VariantsProperty

En lecture seuleIdentifies the Variants attached property.

 

Remarques

L'objet Typography expose le jeu de fonctionnalités que la police OpenType prend en charge. En définissant les propriétés de Typography dans le balisage ou le code, vous pouvez créer des documents qui tirent parti des fonctionnalités OpenType, puis activer ces fonctionnalités au niveau de chaque élément si vous le souhaitez.

Certaines polices contiennent des glyphes de variantes stylistiques qui correspondent aux parties d'un jeu de caractères. Les glyphes de jeux stylistiques peuvent être conçus pour s'harmoniser visuellement, interagir de façon particulière ou fonctionner ensemble différemment. Certaines variantes sont identifiées par les conventions spécifiques, par exemple la police peut avoir des ligatures discrétionnaires. Dans ce cas d'exemple, le comportement typographique peut être activé en affectant à Typography.DiscretionaryLigatures la valeur true. Les autres variantes stylistiques ne sont pas identifiées par un jeu ou une convention OpenType, et sont en revanche spécifiques à la conception typographique de cette police particulière. Ces variantes sont accessibles en définissant les propriétés jointes StylisticSet# sur la valeur true.

Conditions requises

Client minimal pris en charge

Windows 8 [Applications Windows Store uniquement]

Serveur minimal pris en charge

Windows Server 2012 [Applications Windows Store uniquement]

Espace de noms

Windows.UI.Xaml.Documents
Windows::UI::Xaml::Documents [C++]

Métadonnées

Windows.winmd

 

 

Afficher:
© 2016 Microsoft