VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Text Namespace / TextRegion Class / TextRegion Constructors / TextRegion Constructor(TextRegion,Int32,Int32)
Syntax Remarks Requirements SeeAlso
In This Topic
    TextRegion Constructor(TextRegion,Int32,Int32)
    In This Topic
    Initializes a new instance of the TextRegion class, which includes only necessary symbols from specified region.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal sourceRegion
    The source text region.
    As TextRegion, _
    ByVal symbolIndex
    The first index of symbol, in source region, which should be added to new text region.
    As System.Int32, _
    ByVal symbolCount
    The count of symbols that should be added to new text region.
    As System.Int32 _
    )
    public TextRegion(
    TextRegion sourceRegion,
    System.Int32 symbolIndex,
    System.Int32 symbolCount
    )
    public: TextRegion(
    TextRegion* sourceRegion,
    System.Int32 symbolIndex,
    System.Int32 symbolCount
    )
    public:
    TextRegion(
    TextRegion^ sourceRegion,
    System.Int32 symbolIndex,
    System.Int32 symbolCount
    )

    Parameters

    sourceRegion
    The source text region.
    symbolIndex
    The first index of symbol, in source region, which should be added to new text region.
    symbolCount
    The count of symbols that should be added to new text region.
    Remarks

    This constructor creates the new text region from symbols of the specified text region.

    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