VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf Namespace / PdfContentRenderer Class / SetFont Method
The rendering context.
The font.
Font size.



In This Topic
    SetFont Method
    In This Topic
    Sets the font that must be used for drawing text.
    Syntax
    'Declaration
     
    Public Overridable Sub SetFont( _
       ByVal context As PdfContentRenderingContext, _
       ByRef font As PdfFont, _
       ByRef fontSize As Single _
    ) 
    public virtual void SetFont( 
       PdfContentRenderingContext context,
       ref PdfFont font,
       ref float fontSize
    )
    public: virtual void SetFont( 
       PdfContentRenderingContext* context,
       ref PdfFont* font,
       ref float fontSize
    ) 
    public:
    virtual void SetFont( 
       PdfContentRenderingContext^ context,
       PdfFont^% font,
       float% fontSize
    ) 

    Parameters

    context
    The rendering context.
    font
    The font.
    fontSize
    Font size.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also