Click or drag to resize

GroupShapeAddPicture Method (Content, Double, Double, Double, Double)

Adds a new Picture with the specified picture data to the current GroupShape.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1038 (21.3.35.1038)
Syntax
public Picture AddPicture(
	Content content,
	double left,
	double top,
	double width,
	double height
)

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: Picture
A new Picture added to the current GroupShape.
Remarks

DefaultUnit 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