[]
Adds an image to the current paragraph content.
public ParagraphImage AddImage(Image image)
Public Function AddImage(image As Image) As ParagraphImage
| Type | Name | Description |
|---|---|---|
| Image | image | The image to add. |
| Type | Description |
|---|---|
| ParagraphImage | A ParagraphImage object representing the specified image. |
This method creates a ParagraphImage, initializes it with the specified image, and adds it to the current collection.
Adds an image to the current paragraph content.
public ParagraphImage AddImage(string imageName)
Public Function AddImage(imageName As String) As ParagraphImage
| Type | Name | Description |
|---|---|---|
| string | imageName | A string that is assigned to the ImageName property. |
| Type | Description |
|---|---|
| ParagraphImage | A ParagraphImage object representing the specified named image. |
This method creates a ParagraphImage, initializes it with the specified image name, and adds it to the current collection.
Adds an image with a specified style to the current paragraph content.
public ParagraphImage AddImage(Image image, Style style)
Public Function AddImage(image As Image, style As Style) As ParagraphImage
| Type | Name | Description |
|---|---|---|
| Image | image | The image to add. |
| Style | style | A style used to render the image. |
| Type | Description |
|---|---|
| ParagraphImage | A ParagraphImage object representing the specified image. |
This method creates a ParagraphImage, initializes it with the specified image and style, and adds it to the current collection.