Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NPanoseNumber Class / TryParse Method


In This Topic
    TryParse Method (NPanoseNumber)
    In This Topic
    Tries to parse the given HEX string as a panose number and returns true if parsing was successful. The given string should be exactly 20 characters long and contain 10 bytes of data each encoded with 2 HEX digits, for example the string "02020603050405020304", which is the panose number of the "Times New Roman" font.
    Syntax
    'Declaration
     
    
    Public Shared Function TryParse( _
       ByVal hexString As System.String, _
       ByRef result As NPanoseNumber _
    ) As System.Boolean
    'Usage
     
    
    Dim hexString As System.String
    Dim result As NPanoseNumber
    Dim value As System.Boolean
     
    value = NPanoseNumber.TryParse(hexString, result)
    public static System.bool TryParse( 
       System.string hexString,
       out NPanoseNumber result
    )

    Parameters

    hexString
    result
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also