Click or drag to resize

DrawingLayoutSet Method

Sets the position and the size of the drawing (rotation and flipping are removed).

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public void Set(
	double left,
	double top,
	double width,
	double height,
	LengthUnit unit
)

Parameters

left
Type: SystemDouble
The location of the left edge of the bounding box enclosing the drawing relative to the left edge of the slide on which the drawing is located (prior to any rotation or flipping).
top
Type: SystemDouble
The location of the top edge of the bounding box enclosing the drawing relative to the top edge of the slide on which the drawing is located (prior to any rotation or flipping).
width
Type: SystemDouble
The width of the bounding box enclosing the drawing (prior to any rotation or flipping).
height
Type: SystemDouble
The height of the bounding box enclosing the drawing (prior to any rotation or flipping).
unit
Type: GemBox.PresentationLengthUnit
The measurement unit for left, top, width and height parameters.
See Also