VintaSoft Imaging .NET SDK v9.1 for .NET
Vintasoft.Imaging.Pdf Namespace / FontProgramsControllerBase Class / FontInstanceCreated Method
The resources of content stream.
The font that was created.
The font size.
Name of the font resource.



In This Topic
    FontInstanceCreated Method (FontProgramsControllerBase)
    In This Topic
    Method is executed when font instance is created.
    Syntax
    'Declaration
     
    Public Overridable Sub FontInstanceCreated( _
       ByVal resources As PdfResources, _
       ByRef font As PdfFont, _
       ByRef fontSize As Single, _
       ByVal resourceName As String _
    ) 
    public virtual void FontInstanceCreated( 
       PdfResources resources,
       ref PdfFont font,
       ref float fontSize,
       string resourceName
    )
    public: virtual void FontInstanceCreated( 
       PdfResources* resources,
       ref PdfFont* font,
       ref float fontSize,
       string* resourceName
    ) 
    public:
    virtual void FontInstanceCreated( 
       PdfResources^ resources,
       PdfFont^% font,
       float% fontSize,
       String^ resourceName
    ) 

    Parameters

    resources
    The resources of content stream.
    font
    The font that was created.
    fontSize
    The font size.
    resourceName
    Name of the font resource.
    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