GroupShapeAddPicture Method (Content, Double, Double, Double, Double) |
Namespace:
GemBox.Presentation
Assembly:
GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.0.35.1054
Syntaxpublic Picture AddPicture(
Content content,
double left,
double top,
double width,
double height
)
Public Function AddPicture (
content As Content,
left As Double,
top As Double,
width As Double,
height As Double
) As Picture
Parameters
- content
- Type: GemBox.PresentationContent
Content of the picture data. - left
- Type: SystemDouble
The location of the left edge of the bounding box enclosing a newly added Picture relative to the left edge of the slide on which the Picture is being added (prior to any rotation or flipping). - top
- Type: SystemDouble
the location of the top edge of the bounding box enclosing a newly added Picture relative to the top edge of the slide on which the Picture is being added (prior to any rotation or flipping). - width
- Type: SystemDouble
The width of the bounding box enclosing a newly added Picture (prior to any rotation or flipping). - height
- Type: SystemDouble
The height of the bounding box enclosing a newly added Picture (prior to any rotation or flipping).
Return Value
Type:
PictureA new
Picture added to the current
GroupShape.
RemarksDefaultUnit is the measuring unit in which parameters left, top, width and height are specified.
Use this overload if multiple Pictures should share the same picture data.
See Also