VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools Namespace / TextOverlayCollection Class / SetItem(Int32,TextOverlay) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetItem(Int32,TextOverlay) Method (TextOverlayCollection)
    In This Topic
    Replaces the text overlay at the specified index.
    Syntax
    'Declaration
    
    Protected Overrides Sub SetItem( _
    ByVal index
    The new value for the text overlay at the specified index.
    As System.Int32, _
    ByVal item
    The zero-based index of the text overlay to replace.
    As TextOverlay _
    )
    protected override void SetItem(
    System.Int32 index,
    TextOverlay item
    )
    protected: void SetItem(
    System.Int32 index,
    TextOverlay* item
    ); override
    protected:
    void SetItem(
    System.Int32 index,
    TextOverlay^ item
    ); override

    Parameters

    index
    The new value for the text overlay at the specified index.
    item
    The zero-based index of the text overlay to replace.
    Exceptions
    ExceptionDescription
    Thrown if the collection already contains the text overlay.
    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