PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / ParagraphObjectCollection Class / AddImage Method / AddImage(String) Method
A string that is assigned to the ImageName property.

In This Topic
    AddImage(String) Method
    In This Topic
    Adds an image to the current paragraph content.
    Syntax
    'Declaration
     
    Public Overloads Function AddImage( _
       ByVal imageName As String _
    ) As ParagraphImage
    public ParagraphImage AddImage( 
       string imageName
    )

    Parameters

    imageName
    A string that is assigned to the ImageName property.

    Return Value

    A ParagraphImage object representing the specified named image.
    Remarks
    This method creates a ParagraphImage, initializes it with the specified image name, and adds it to the current collection.
    See Also