![]() For example, "Arial" or "Century Gothic".Ī string specifying multiple font family names, each separated by a comma (any white space following a comma is ignored). If the specified font family is not available, the FlowDocument will silently fall back to the font determined by the SystemFonts.MessageFontFamily value.Ī string specifying a font family name. This property specifies a preference only. When multiple families are specified, the second and subsequent font families serve as fallback families to be used in cases where the primary font family is unavailable or not applicable. ' Set the desired column gap to 10 device independend pixels.įlowDoc.FontFamily = New FontFamily("Century Gothic")įlowDoc.FontStretch = FontStretches.UltraExpandedįlowDoc.FontWeight = FontWeights.UltraBoldĪny FontFamily settings on child elements will override this top-level setting. Set the desired column gap to 10 device independend pixels.įlowDoc.FontFamily = new FontFamily("Century Gothic") įlowDoc.FontStretch = FontStretches.UltraExpanded įlowDoc.FontWeight = FontWeights.UltraBold ĭim flowDoc As New FlowDocument(New Paragraph(New Run("A bit of text content."))) FlowDocument flowDoc = new FlowDocument(new Paragraph(new Run("A bit of text content."))) ![]() The following example shows how to set the FontFamily property programmatically. Īny font settings on this paragraph would override the font settings The following example shows how to set the FontFamily attribute of a FlowDocument element.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |