Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / InsertPicture Method
The Picture to insert.
The index at which to insert the picture. By default, 0.


In This Topic
    InsertPicture Method
    In This Topic
    Inserts a Picture at a specific location in this Paragraph.
    Syntax
    'Declaration
     
    Public Function InsertPicture( _
       ByVal p As Picture, _
       Optional ByVal index As Integer _
    ) As Paragraph
    'Usage
     
    Dim instance As Paragraph
    Dim p As Picture
    Dim index As Integer
    Dim value As Paragraph
     
    value = instance.InsertPicture(p, index)
    public Paragraph InsertPicture( 
       Picture p,
       int index
    )

    Parameters

    p
    The Picture to insert.
    index
    The index at which to insert the picture. By default, 0.

    Return Value

    This Paragraph with the Picture inserted.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also