VintaSoft Imaging .NET SDK v9.1 for .NET
Vintasoft.Imaging.Pdf Namespace / FontProgramsControllerBase Class / AddSynonym Method
PostScript name of the font.
Synonym for the font name.



In This Topic
    AddSynonym Method
    In This Topic
    Adds a synonym for specified PostScript font name.
    Syntax
    'Declaration
     
    Public Sub AddSynonym( _
       ByVal postScriptFontName As String, _
       ByVal postScriptSynonym As String _
    ) 
    public void AddSynonym( 
       string postScriptFontName,
       string postScriptSynonym
    )
    public: void AddSynonym( 
       string* postScriptFontName,
       string* postScriptSynonym
    ) 
    public:
    void AddSynonym( 
       String^ postScriptFontName,
       String^ postScriptSynonym
    ) 

    Parameters

    postScriptFontName
    PostScript name of the font.
    postScriptSynonym
    Synonym for the font name.
    Exceptions
    ExceptionDescription
    Thrown if postScriptFontName is null or is NOT a valid PostScript name or postScriptSynonym is null or is NOT a valid PostScript name or postScriptFontName equals to postScriptSynonym.
    Requirements

    Target Platforms: .NET 5 Preview 7; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also