[]
Inserts a Picture into this collection at a specified location.
public Picture Insert(InsertLocation location)
Public Function Insert(location As InsertLocation) As Picture
Type | Name | Description |
---|---|---|
InsertLocation | location | The target InsertLocation for the insertion. |
Inserts a Picture into this collection at a specified location.
public Picture Insert(byte[] imageBytes, string contentType, float width, float height, InsertLocation location)
Public Function Insert(imageBytes As Byte(), contentType As String, width As Single, height As Single, location As InsertLocation) As Picture
Type | Name | Description |
---|---|---|
byte[] | imageBytes | The image data representing the picture. |
string | contentType | The content type of the image data. |
float | width | The picture's width, in points. |
float | height | The picture's height, in points. |
InsertLocation | location | The target InsertLocation for the insertion. |
Inserts a Picture into this collection at a specified location.
public Picture Insert(byte[] imageBytes, string contentType, InsertLocation location)
Public Function Insert(imageBytes As Byte(), contentType As String, location As InsertLocation) As Picture
Type | Name | Description |
---|---|---|
byte[] | imageBytes | The image data representing the picture. |
string | contentType | The content type of the image data. |
InsertLocation | location | The target InsertLocation for the insertion. |
Inserts a Picture into this collection at a specified location.
public Picture Insert(Image image, InsertLocation location)
Public Function Insert(image As Image, location As InsertLocation) As Picture
Type | Name | Description |
---|---|---|
Image | image | The GrapeCity.Documents.Drawing.Image object representing the picture. |
InsertLocation | location | The target InsertLocation for the insertion. |
Type | Description |
---|---|
Picture | The inserted Picture. The size of the picture is set to the size of the source image. |
Note than this overload inspects the image's Exif rotation data and applies an appropriate picture rotation.