Substitute Font(String, String) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets font-mapping options, which are reflected in theFont Substitution dialog box (Compatibility tab, Options dialog box, Tools menu).
public: void SubstituteFont(System::String ^ UnavailableFont, System::String ^ SubstituteFont);
public void SubstituteFont (string UnavailableFont, string SubstituteFont);
abstract member SubstituteFont : string * string -> unit
Public Sub SubstituteFont (UnavailableFont As String, SubstituteFont As 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.
Required String. The name of a font available on your computer that you want to substitute for the unavailable font.