PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / ParagraphObjectCollection Class / AddImage Method / AddImage(Image,Style) Method
The image to add.
A style used to render the image.

In This Topic
    AddImage(Image,Style) Method
    In This Topic
    Adds an image with a specified style to the current paragraph content.
    Syntax
    'Declaration
     
    Public Overloads Function AddImage( _
       ByVal image As Image, _
       ByVal style As Style _
    ) As ParagraphImage
    public ParagraphImage AddImage( 
       Image image,
       Style style
    )

    Parameters

    image
    The image to add.
    style
    A style used to render the image.

    Return Value

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