programming-examples/c-sharp/Others/Paragraph FontWeight.cs

50 lines
1.1 KiB
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
Paragraph FontWeight
<FlowDocument
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontFamily="Arial"
FontSize="24" PagePadding="30" Background="White" Name="fd1">
<Paragraph>
<Figure Width="Content" HorizontalAnchor="ContentLeft"
VerticalAnchor="ContentTop" Margin="0,0,0,20" Padding="0">
<Paragraph FontSize="36" Margin="0" FontWeight="Bold">Superman</Paragraph>
<Paragraph Margin="0">Superman</Paragraph>
</Figure>
Superman
</Paragraph>
<Paragraph>
Superman
</Paragraph>
<Paragraph>
Superman
</Paragraph>
<Paragraph>
Superman
</Paragraph>
<Paragraph FontWeight="Bold">
Superman
</Paragraph>
<Paragraph>
sSuperman
</Paragraph>
<Paragraph>
Superman
</Paragraph>
<Paragraph>
Superman
</Paragraph>
<Paragraph FontWeight="Bold">
The Middle Years
</Paragraph>
<Paragraph>
</Paragraph>
<Paragraph>
Superman
</Paragraph>
<Paragraph>
Superman
</Paragraph>
</FlowDocument>