Click or drag to resize

Transformer Methods

The Transformer type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds the given object to the transformation list
Public methodAddRange
Adds a list of objects to the transformation selection. Only shapes, images, texts, spots & links are allowed. This method can only be called when the transformation is not active.
Public methodAddResultSet
Adds all objects from a query result, the result set must only contain objects of the bound location that can be transformed
Public methodBeginTransform
Begins the transformation of the currently selected transform object with the selected transform mode Only allowed if no transformation is currently active
Public methodCancelTransform
If there is a current transformation and it is not unknown, restore the values from the initial snapshot and then end it
Public methodClear
Clear the selection to work with
Public methodEndTransform
If there is a current transformation and it is not unknown, end it
Public methodFlipHorizontal
Flips the currently selected transform object on the global horizontal axis if it is a custom shape, on the local horizontal axis if it is not
Public methodFlipVertical
Flips the currently selected transform object on the global vertical axis if it is a custom shape, on the local vertical axis if it is not
Public methodGetHeight
Gets the height length of the currently selected transform object as a double value
Public methodGetPivot
Gets the pivot position of the currently selected transform object as a point
Public methodGetPosition
Gets the current position of the selected transform object as a point
Public methodGetRotation
Gets the rotation as a double value of the currently selected transform object
Public methodGetWidth
Gets the width length of the currently selected transform object as a double value
Public methodRecenterPivot
Resets the pivot position to the center middle of the currently selected transform object
Public methodRedo
If there is a redoable action, restore the next snapshot
Public methodRemove
remove the given object from the transform selection
Public methodRemoveRange
Removes a list IEnumerable list of objects from the transform selection. Invalid objects in the list are ignored. This method can only be called when the transformation is not active.
Public methodRemoveResultSet
Remove all objects from a query result from the transform selection
Public methodSetHeight
Sets the height length of the currently selected transform object with a specified value and a possibility to keep the current aspect ratio
Public methodSetPivot(Point)
Sets the pivot of the currently selected transform object to a specific point with the option to snap
Public methodSetPivot(TransformerAnchorPosition)
Sets the pivot of the currently selected transform object to a specific anchor position with the option to snap
Public methodSetPosition
Sets the position of the selected transform object to a new point
Public methodSetRotation
Sets the rotation angle of the currently selected transform object with a specified double value
Public methodSetSize
Sets the size of the currently selected transform object to a specified value
Public methodSetTransformMode
Sets the transform mode of the currently selected transform object to object aligned or axis aligned (or unknown) Only allowed if no transformation is currently active. Object aligned transformation is only available for single shape, text or image objects.
Public methodSetWidth
Sets the width length of the currently selected transform object with a specified value and a possibility to keep the current aspect ratio
Public methodUndo
If there is an undoable action, restore the last snapshot
Top
See Also