The following tables list the members exposed by AnnAutomation.
Public Constructors
Name | Description | |
---|---|---|
AnnAutomation | Initializes a new instance of the AnnAutomation class. |
Public Methods
Name | Description | |
---|---|---|
addLayer | Adds a layer to the container. | |
alignBottoms | Aligns the selected objects along with alignment target bottom side. | |
alignCenters | Aligns the selected objects along with alignment target horizontal center. | |
alignLefts | Aligns the selected objects along with alignment target left side. | |
alignMiddles | Aligns the selected objects along with alignment target vertical center. | |
alignRights | Aligns the selected objects along with alignment target rights side. | |
alignTops | Aligns the selected objects along with alignment target top side. | |
applyAllDecryptors | Applies all the decryptor AnnEncryptObject objects in this AnnAutomation. | |
applyAllEncryptors | Applies all the encryptor AnnEncryptObject objects in this AnnAutomation. | |
applyDecryptor | Applies the decryptor AnnEncryptObject that is currently being edited (selected). | |
applyEncryptor | Applies the encryptor AnnEncryptObject object currently being edited (selected). | |
attach | Attaches this AnnAutomation object to a IAnnAutomationControl object. | |
attachContainer | Attaches this AnnAutomation object to a container and optional undo/redo object. | |
beginUndo | Creates a new undo node in this AnnAutomation object. | |
beginUpdateContainers | Stops the automation from passing events to the automation control while containers are being added or removed. | |
bringLayerToFront | Brings the currently selected layer up in the Z-order. | |
bringToFront | Brings the currently selected object(s) up in the Z-order. | |
cancel | Cancels the operation currently being performed in this AnnAutomation. | |
cancelUndo | Cancels the undo node started in this AnnAutomation object. | |
copy | Copies the objects currently being edited to the clipboard. | |
deleteLayer | Deletes a layer from the container | |
deleteSelectedObjects | Deletes the selected objects from this AnnAutomation. | |
detach | Detaches this AnnAutomation object from its IAnnAutomationControl object. | |
endDesigner | Ends (and commits) the operation currently being performed in this AnnAutomation. | |
endUndo | Commits the undo node started in this AnnAutomation object. | |
endUpdateContainers | Instruct the viewer that updates are completed and rendering of the content can be resumed. | |
flip | Flips the objects that are currently being edited (selected) in this AnnAutomation. | |
getContainerInvalidRect | Gets the current invalidation rectangle (the physical location and size) for a container | |
getDefaultCurrentObjectId | Returns the value of the default current object id. | |
getObjectInvalidateRect | Gets a LeadRectD object that specifies the current physical rectangle of this AnnObject. | |
getUndoRedoObject | Gets an object that contains the current undo/redo object data. | |
hitTestContainer | Gets the container under the specified location. | |
invalidate | Invalidates the specified region of the automation control. | |
invalidateContainer | Invalidates the specified container and re-renders its content in the automation control. | |
invalidateObject | Invalidates and re-draws an object. | |
invokeAfterObjectChanged | Invokes the AfterObjectChanged event with the specified parameters. | |
invokeObjectModified | Invokes the ObjectModified event with the specified parameters. | |
layerFromSelectedObjects | Creates a new layer from the currently selected objects. | |
lock | Locks the object(s) currently being edited (selected). | |
makeSameHeight | Make the height for selected objects the same with alignment target height. | |
makeSameSize | Make the size for selected objects the same with alignment target size. | |
makeSameWidth | Make the width for selected objects the same with alignment target width. | |
onAfterUndoRedo | Raises the AfterUndoRedo event. | |
onAutomationPointerDown | Called by the IAnnAutomationControl pointer down event. | |
onAutomationPointerMove | Called by the IAnnAutomationControl pointer move event. | |
onAutomationPointerUp | Called by the IAnnAutomationControl pointer up event. | |
onCurrentDesignerChanged | Raises the CurrentDesignerChanged event. | |
onDragDrop | Raises the DragDrop event. | |
onUndoRedoChanged | Raises the UndoRedoChanged event. | |
paste | Copies the annotation objects from the clipboard to this AnnAutomation. | |
pasteAt | Copies the annotation objects from the clipboard to this AnnAutomation at the specified location. | |
pasteStringAt | Copies the annotation objects contained in a serialization object at the specified position. | |
realizeAllRedactions | Realizes all the AnnRedactionObject objects in this AnnAutomation. | |
realizeRedaction | Realizes the AnnRedactionObject object currently being edited (selected). | |
redo | Reapplies the last operation that was undone in this AnnAutomation. | |
resetRotatePoints | Resets the rotate control points of the selected AnnObject to their default locations. | |
restoreAllRedactions | Restores all of the AnnRedactionObject objects in this AnnAutomation. | |
restoreRedaction | Restores the AnnRedactionObject object currently being edited (selected). | |
selectLayer | Selects a layer in this AnnAutomation. | |
selectObject | Select an object in this AnnAutomation. | |
selectObjects | Selects an object or a group of objects in this AnnAutomation. | |
sendLayerToBack | Sends the currently selected layer down in the Z-order. | |
sendToBack | Sends the currently selected object(s) down in the Z-order. | |
showContextMenu | Displays the automation context menu. | |
showObjectContextMenu | Displays the object context menu. | |
showObjectProperties | Shows the object properties | |
undo | Reverses the last operation performed in this AnnAutomation. | |
unlock | Unlocks the object(s) currently being edited (selected). |
Public Properties
Name | Description | |
---|---|---|
active | Gets or sets a value indicating whether this AnnAutomation is active. | |
activeContainer | Gets or sets the active container of the automation. | |
automationControl | Gets the automation control for this AnnAutomation. | |
canAlign | Gets a value that indicates whether this AnnAutomation can align or change the size for selected objects based on alignment target. | |
canApplyAllDecryptors | Gets a value that indicates whether any decryptor AnnEncryptObject object in this AnnAutomation can be applied. | |
canApplyAllEncryptors | Gets a value that indicates whether any encryptor AnnEncryptObject object in this AnnAutomation can be applied. | |
canApplyDecryptor | Gets a value that indicates whether the object currently being edited is a decryptor AnnEncryptObject and can be applied. | |
canApplyEncryptor | Gets a value that indicates whether the object currently being edited (selected) is an encryptor AnnEncryptObject and can be applied. | |
canBringLayerToFirst | Gets a value that indicates whether this AnnAutomation is currently in a state where a layer can be brought up to the top of the z-order. | |
canBringLayerToFront | Gets a value that indicates whether this AnnAutomation is currently in a state where a layer can be brought up the z-order. | |
canBringToFirst | Gets a value that indicates whether this AnnAutomation can bring the currently selected object(s) to the top of the Z-order. | |
canBringToFront | Gets a value that indicates whether this AnnAutomation can bring the currently selected object(s) up in the Z-order. | |
canCopy | Gets a value that indicates whether this AnnAutomation is currently in a state where objects can be copied to the clipboard. | |
canDeleteObjects | Gets a value that indicates whether this AnnAutomation is currently in a state where objects can be deleted. | |
canFlip | Gets a value that indicates whether this AnnAutomation is currently in a state where objects can be flipped. | |
canGroup | Gets a value indicating whether this AnnAutomation is in a state where objects can be grouped together. | |
canLock | Gets a value that indicates whether the object currently being edited (selected) can be locked. | |
canPaste | Gets a value that indicates whether the clipboard contains annotation objects that can be pasted. | |
canRealizeAllRedactions | Gets a value that indicates whether any of the AnnRedactionObject objects in this AnnAutomation can be realized. | |
canRealizeRedaction | Gets a value that indicates whether the object currently being edited (selected) is an AnnRedactionObject and can be realized. | |
canRedo | Gets a value indicating whether the user can redo the previous operation performed in this AnnAutomation. | |
canResetRotatePoints | Gets a value that indicates whether this AnnAutomation is currently in a state where the selected AnnObject is able to have its rotate controlpoints reset to the default location. | |
canRestoreAllRedactions | Gets a value that indicates whether any AnnRedactionObject objects in this AnnAutomation can be restored. | |
canRestoreRedaction | Gets a value that indicates whether the object currently being edited (selected) is a AnnRedactionObject and can be restored. | |
canSelectNone | Gets a value indicating whether this AnnAutomation is in a state where it can deselect objects. | |
canSelectObjects | Gets a value that indicates whether the this AnnAutomation is in a state where any object can be selected. | |
canSendLayerToBack | Gets a value that indicates whether this AnnAutomation is currently in a state where a layer can be sent down the z-order. | |
canSendLayerToLast | Gets a value that indicates whether this AnnAutomation is currently in a state where a layer can be sent to end of the z-order. | |
canSendToBack | Gets a value that indicates whether this AnnAutomation can send the currently selected object(s) down in the Z-order. | |
canSendToLast | Gets a value that indicates whether this AnnAutomation can send the currently selected object(s) to the bottom of the Z-order. | |
canShowObjectContextMenu | Gets a value that indicates whether this AnnAutomation is currently in a state where the object context menu can be displayed. | |
canShowObjectProperties | Gets a value that indicates whether this AnnAutomation is currently in a state where the object properties can be displayed. | |
canShowProperties | Gets a value that indicates whether this AnnAutomation is currently in a state where the user properties dialog can be displayed. | |
canUndo | Gets a value that indicates whether the user can undo the previous operation performed in this AnnAutomation. | |
canUngroup | Gets a value indicating whether this AnnAutomation is in a state where objects can be ungrouped. | |
canUnlock | Gets a value that indicates whether the object currently being edited (selected) can be unlocked. | |
container | Gets the AnnContainer of this AnnAutomation. | |
containers | The list of containers in this AnnAutomation when multi-containers mode is used. | |
currentDesigner | Gets the current working designer. | |
currentEditObject | Gets the current AnnObject being edited. | |
defaultCurrentObjectId | Gets or sets the annotations object id to use when a draw designer finishes its operation. | |
enableDragDrop | Gets or sets a value that indicates whether drag and drop is enabled in this AnnAutomation. | |
manager | Returns the AnnAutomationManager that this AnnAutomation object belongs to. | |
undoCapacity | Gets or sets a value that specifies the capacity of the undo/redo buffer. |
Public Events
Name | Description | |
---|---|---|
activeContainerChanged | Occurs when the active container of this object is changed. | |
afterObjectChanged | Occurs when an AnnObject has changed. | |
afterUndoRedo | Occurs after an undo or redo operation. | |
beforeObjectChanged | Occurs when an AnnObject is about to be changed. | |
currentDesignerChanged | Occurs when the current designer has been changed. | |
deserializeObjectError | Occurs when an error occur during an object serialization operation. | |
dragDrop | Occurs when an AnnObject is being dragged out of a container. | |
draw | Occurs when an AnnObject is being drawn. | |
edit | Occurs when an AnnObject is being edited. | |
editContent | Occurs when the content of an AnnObject is edited. | |
editText | Occurs when the text of an AnnObject is edited. | |
lockObject | Occurs when an AnnObject is locked. | |
objectModified | Occurs when one or more AnnObject has changed. | |
onShowContextMenu | Occurs when the automation needs to show the context menu when no objects are selected. | |
onShowObjectProperties | Occurs when the automation needs to show the properties dialog of the selected object. | |
restoreCursor | Occurs when the automation has determine that the original cursor needs to be restored. | |
run | Occurs when an AnnObject is being run. | |
selectedObjectsChanged | Occurs when the selected object changes. | |
setCursor | Occurs when the automation has determine that the user needs to change the cursor. | |
toolTip | Occurs when the mouse hovers over an annotation object and a tooltip is requested. | |
undoRedoChanged | Occurs when the undo or redo buffer changes. | |
unlockObject | Occurs when an AnnObject is unlocked. |
Products |
Support |
Feedback: AnnAutomation Class Members - Leadtools.Annotations.Automation |
Introduction |
Help Version 19.0.2017.3.21
|