VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor Namespace / OpenXmlTextContent Class / Substring(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Substring(Int32,Int32) Method (OpenXmlTextContent)
    In This Topic
    Returns a new text content that contains substring of this text content.
    Syntax
    'Declaration
    
    Public Function Substring( _
    ByVal index
    The zero-based start index of text.
    As System.Int32, _
    ByVal length
    The length of text.
    As System.Int32 _
    ) As OpenXmlTextContent
    public OpenXmlTextContent Substring(
    System.Int32 index,
    System.Int32 length
    )
    public: OpenXmlTextContent* Substring(
    System.Int32 index,
    System.Int32 length
    )
    public:
    OpenXmlTextContent^ Substring(
    System.Int32 index,
    System.Int32 length
    )

    Parameters

    index
    The zero-based start index of text.
    length
    The length of text.

    Return Value

    A new instance of OpenXmlTextContent class.
    Exceptions
    ExceptionDescription
    Thrown if lenght is less or equal 0.
    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