Version

DefaultFont Property (WordprocessingMLWriter)

Returns the font that determines the formatting for all text runs which do not have more specific formatting attributes defined.
Syntax
'Declaration
 
Public Overrides ReadOnly Property DefaultFont As Font
public override Font DefaultFont {get;}
Remarks

The DefaultFont property can be used to assign a document-level font, the attributes of which all text runs acquire when no more specific setting exists. For example, to italicize the entire document, set the Italic property of the font returned by this property to true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also