Version

ApplyFont Method

Applies the specified font to the text in the word at the current Start location. If there is a non-zero length selection then only text in the current selection is formatted.
Syntax
'Declaration
 
Public Sub ApplyFont( _
   ByVal font As RichTextFont _
) 
public void ApplyFont( 
   RichTextFont font
)

Parameters

font
The font to apply.
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