Adds an image with a specified style to the current paragraph content.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public ParagraphImage AddImage( Image image, Style style ) |
Visual Basic |
---|
Public Function AddImage ( _ image As Image, _ style As Style _ ) As ParagraphImage |
Parameters
- image
- Type: System.Drawing..::..Image
The image to add.
- style
- Type: C1.C1Preview..::..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.