|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Propriedade TextBox.Typography
Namespace: System.Windows.Controls
Assembly: PresentationFramework (em PresentationFramework.dll)
Valor de propriedade
Tipo: System.Windows.Documents.Typography<Paragraph TextAlignment="Left" FontSize="18" FontFamily="Palatino Linotype" Typography.NumeralStyle="OldStyle" Typography.Fraction="Stacked" Typography.Variants="Inferior" > <Run> This text has some altered typography characteristics. Note that use of an open type font is necessary for most typographic properties to be effective. </Run> <LineBreak/><LineBreak/> <Run> 0123456789 10 11 12 13 </Run> <LineBreak/><LineBreak/> <Run> 1/2 2/3 3/4 </Run> </Paragraph>


Paragraph par = new Paragraph(); Run runText = new Run( "This text has some altered typography characteristics. Note" + "that use of an open type font is necessary for most typographic" + "properties to be effective."); Run runNumerals = new Run("0123456789 10 11 12 13"); Run runFractions = new Run("1/2 2/3 3/4"); par.Inlines.Add(runText); par.Inlines.Add(new LineBreak()); par.Inlines.Add(new LineBreak()); par.Inlines.Add(runNumerals); par.Inlines.Add(new LineBreak()); par.Inlines.Add(new LineBreak()); par.Inlines.Add(runFractions); par.TextAlignment = TextAlignment.Left; par.FontSize = 18; par.FontFamily = new FontFamily("Palatino Linotype"); par.Typography.NumeralStyle = FontNumeralStyle.OldStyle; par.Typography.Fraction = FontFraction.Stacked; par.Typography.Variants = FontVariants.Inferior;
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.