Adds an image hyperlink to the current paragraph content.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public ParagraphImage AddHyperlink( Image image, ParagraphObject paragraphObject ) |
Visual Basic |
---|
Public Function AddHyperlink ( _ image As Image, _ paragraphObject As ParagraphObject _ ) As ParagraphImage |
Parameters
- image
- Type: System.Drawing..::..Image
The image to add.
- paragraphObject
- Type: C1.C1Preview..::..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 Hyperlink on that object to a
C1Hyperlink initialized with paragraphObject,
and adds it to the current collection.