[]
Adds an image to the current paragraph content.
public ParagraphImage AddImage(Image image)
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)
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)
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.