_Application.SubstituteFont Method
Sets font-mapping options, which are reflected in theFont Substitution dialog box (Compatibility tab, Options dialog box, Tools menu).
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub SubstituteFont ( _
UnavailableFont As String, _
SubstituteFont As String _
)
'Usage
Dim instance As _Application
Dim UnavailableFont As String
Dim SubstituteFont As String
instance.SubstituteFont(UnavailableFont, _
SubstituteFont)
void SubstituteFont(
string UnavailableFont,
string SubstituteFont
)
Parameters
- UnavailableFont
Type: System.String
Required String. The name of a font not available on your computer that you want to map to a different font for display and printing.
- SubstituteFont
Type: System.String
Required String. The name of a font available on your computer that you want to substitute for the unavailable font.