|
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 FlowDocument.FontStyle
.NET Framework 4.5
Namespace: System.Windows.Documents
Assembly: PresentationFramework (em PresentationFramework.dll)
XMLNS para XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object FontStyle="FontStyle" .../>
Valor de propriedade
Tipo: System.Windows.FontStyle<FlowDocumentReader> <FlowDocument FontFamily="Century Gothic" FontSize="12" FontStretch="UltraExpanded" FontStyle="Italic" FontWeight="UltraBold" > <Paragraph> Any font settings on this paragraph would override the font settings for the FlowDocument. </Paragraph> </FlowDocument> </FlowDocumentReader>
FlowDocument flowDoc = new FlowDocument(new Paragraph(new Run("A bit of text content..."))); // Set the desired column gap to 10 device independend pixels. flowDoc.FontFamily = new FontFamily("Century Gothic"); flowDoc.FontSize = 12.0; flowDoc.FontStretch = FontStretches.UltraExpanded; flowDoc.FontStyle = FontStyles.Italic; flowDoc.FontWeight = FontWeights.UltraBold;
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.