Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Font Class / GetFontImage Method
The Font that will be evaluated.
An output parameter that contains the Font's byte array.
An output parameter that contains the size of the Font's byte array.
An output parameter that is true if the Font's byte array is corrupted.


In This Topic
    GetFontImage Method
    In This Topic
    Gets the Font's byte array.
    Syntax
    'Declaration
     
    Public Shared Sub GetFontImage( _
       ByVal font As Font, _
       ByRef image() As Byte, _
       ByRef imageSize As Integer, _
       ByRef corrupted As Boolean _
    ) 
    'Usage
     
    Dim font As Font
    Dim image() As Byte
    Dim imageSize As Integer
    Dim corrupted As Boolean
     
    Font.GetFontImage(font, image, imageSize, corrupted)
    public static void GetFontImage( 
       Font font,
       out byte[] image,
       out int imageSize,
       out bool corrupted
    )

    Parameters

    font
    The Font that will be evaluated.
    image
    An output parameter that contains the Font's byte array.
    imageSize
    An output parameter that contains the size of the Font's byte array.
    corrupted
    An output parameter that is true if the Font's byte array is corrupted.
    Remarks
    This also returns the size of the byte array & if said array is corrupted.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also