VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingString Class / Substring Methods / Substring(Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    Substring(Int32,Int32) Method (DrawingString)
    In This Topic
    Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
    Syntax
    'Declaration
    
    Public Overloads Function Substring( _
    ByVal startCharIndex
    The zero-based starting character position of a substring in this instance.
    As System.Int32, _
    ByVal charCount
    The number of characters in the substring.
    As System.Int32 _
    ) As DrawingString
    public DrawingString Substring(
    System.Int32 startCharIndex,
    System.Int32 charCount
    )
    public: DrawingString* Substring(
    System.Int32 startCharIndex,
    System.Int32 charCount
    )
    public:
    DrawingString^ Substring(
    System.Int32 startCharIndex,
    System.Int32 charCount
    )

    Parameters

    startCharIndex
    The zero-based starting character position of a substring in this instance.
    charCount
    The number of characters in the substring.

    Return Value

    A string that is equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also