VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction Namespace / IWpfTextInteractiveObject Interface / SetText(String,Int32,Int32,Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    SetText(String,Int32,Int32,Int32,Int32) Method (IWpfTextInteractiveObject)
    In This Topic
    Sets the text of an interactive object.
    Syntax
    'Declaration
    
    Public Sub SetText( _
    ByRef text
    The text to set.
    As System.String, _
    ByVal changeStart
    The start position of changed text in editor of interactive object.
    As System.Int32, _
    ByVal changeLength
    The length of changed text in editor of interactive object.
    As System.Int32, _
    ByRef selectionStart
    The start position of text selection in editor of interactive object.
    As System.Int32, _
    ByRef selectionLength
    The length of text selection in editor of interactive object.
    As System.Int32 _
    )
    public void SetText(
    ref System.String text,
    System.Int32 changeStart,
    System.Int32 changeLength,
    ref System.Int32 selectionStart,
    ref System.Int32 selectionLength
    )
    public: void SetText(
    ref System.String text,
    System.Int32 changeStart,
    System.Int32 changeLength,
    ref System.Int32 selectionStart,
    ref System.Int32 selectionLength
    )
    public:
    void SetText(
    System.String% text,
    System.Int32 changeStart,
    System.Int32 changeLength,
    System.Int32% selectionStart,
    System.Int32% selectionLength
    )

    Parameters

    text
    The text to set.
    changeStart
    The start position of changed text in editor of interactive object.
    changeLength
    The length of changed text in editor of interactive object.
    selectionStart
    The start position of text selection in editor of interactive object.
    selectionLength
    The length of text selection in editor of interactive object.
    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