Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / InsertImageAtSelectionAsync Method
Image to insert.
Alternative text for image.

In This Topic
    InsertImageAtSelectionAsync Method
    In This Topic
    Inserts an image at the current cursor position asynchronously.
    Syntax
    'Declaration
     
    Public Function InsertImageAtSelectionAsync( _
       ByVal img As System.Drawing.Image, _
       Optional ByVal altText As System.String _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task InsertImageAtSelectionAsync( 
       System.Drawing.Image img,
       System.string altText
    )

    Parameters

    img
    Image to insert.
    altText
    Alternative text for image.
    See Also