PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / ParagraphObjectCollection Class / AddHyperlink Method / AddHyperlink(Image,ParagraphObject) Method
The image to add.
A ParagraphObject which is the target of the hyperlink.

In This Topic
    AddHyperlink(Image,ParagraphObject) Method
    In This Topic
    Adds an image hyperlink to the current paragraph content.
    Syntax
    'Declaration
     
    Public Overloads Function AddHyperlink( _
       ByVal image As Image, _
       ByVal paragraphObject As ParagraphObject _
    ) As ParagraphImage
    public ParagraphImage AddHyperlink( 
       Image image,
       ParagraphObject paragraphObject
    )

    Parameters

    image
    The image to add.
    paragraphObject
    A ParagraphObject which is the target of the hyperlink.

    Return Value

    A ParagraphImage object representing the specified image, associated with the specified hyperlink.
    Remarks
    This method creates a ParagraphImage, initializes it with the specified image, sets the ParagraphObject.Hyperlink on that object to a C1Hyperlink initialized with paragraphObject, and adds it to the current collection.
    See Also