In This Topic ▼

AnnAutomation Class Members

Summary

The following tables list the members exposed by AnnAutomation.

Public Constructors

Name Description
Public Constructor
static  | Shared in VB</div>
AnnAutomation Initializes a new instance of the AnnAutomation class.

Public Methods

Name Description
Public Method
addLayer Adds a layer to the container.
Public Method alignBottoms Aligns the selected objects along with alignment target bottom side.
Public Method alignCenters Aligns the selected objects along with alignment target horizontal center.
Public Method alignLefts Aligns the selected objects along with alignment target left side.
Public Method alignMiddles Aligns the selected objects along with alignment target vertical center.
Public Method alignRights Aligns the selected objects along with alignment target rights side.
Public Method alignTops Aligns the selected objects along with alignment target top side.
Public Method applyAllDecryptors Applies all the decryptor AnnEncryptObject objects in this AnnAutomation.
Public Method applyAllEncryptors Applies all the encryptor AnnEncryptObject objects in this AnnAutomation.
Public Method applyDecryptor Applies the decryptor AnnEncryptObject that is currently being edited (selected).
Public Method applyEncryptor Applies the encryptor AnnEncryptObject object currently being edited (selected).
Public Method attach Attaches this AnnAutomation object to a IAnnAutomationControl object.
Public Method attachContainer Attaches this AnnAutomation object to a container and optional undo/redo object.
Public Method beginUndo Creates a new undo node in this AnnAutomation object.
Public Method beginUpdateContainers Stops the automation from passing events to the automation control while containers are being added or removed.
Public Method bringLayerToFront Brings the currently selected layer up in the Z-order.
Public Method bringToFront Brings the currently selected object(s) up in the Z-order.
Public Method cancel Cancels the operation currently being performed in this AnnAutomation.
Public Method cancelUndo Cancels the undo node started in this AnnAutomation object.
Public Method copy Copies the objects currently being edited to the clipboard.
Public Method deleteLayer Deletes a layer from the container
Public Method deleteSelectedObjects Deletes the selected objects from this AnnAutomation.
Public Method detach Detaches this AnnAutomation object from its IAnnAutomationControl object.
Public Method endDesigner Ends (and commits) the operation currently being performed in this AnnAutomation.
Public Method endUndo Commits the undo node started in this AnnAutomation object.
Public Method endUpdateContainers Instruct the viewer that updates are completed and rendering of the content can be resumed.
Public Method flip Flips the objects that are currently being edited (selected) in this AnnAutomation.
Public Method getContainerInvalidRect Gets the current invalidation rectangle (the physical location and size) for a container
Public Method getDefaultCurrentObjectId Returns the value of the default current object id.
Public Method getObjectInvalidateRect Gets a LeadRectD object that specifies the current physical rectangle of this AnnObject.
Public Method getUndoRedoObject Gets an object that contains the current undo/redo object data.
Public Method hitTestContainer Gets the container under the specified location.
Public Method invalidate Invalidates the specified region of the automation control.
Public Method invalidateContainer Invalidates the specified container and re-renders its content in the automation control.
Public Method invalidateObject Invalidates and re-draws an object.
Public Method invokeAfterObjectChanged Invokes the AfterObjectChanged event with the specified parameters.
Public Method invokeObjectModified Invokes the ObjectModified event with the specified parameters.
Public Method layerFromSelectedObjects Creates a new layer from the currently selected objects.
Public Method lock Locks the object(s) currently being edited (selected).
Public Method makeSameHeight Make the height for selected objects the same with alignment target height.
Public Method makeSameSize Make the size for selected objects the same with alignment target size.
Public Method makeSameWidth Make the width for selected objects the same with alignment target width.
Public Method onAfterUndoRedo Raises the AfterUndoRedo event.
Public Method onAutomationPointerDown Called by the IAnnAutomationControl pointer down event.
Public Method onAutomationPointerMove Called by the IAnnAutomationControl pointer move event.
Public Method onAutomationPointerUp Called by the IAnnAutomationControl pointer up event.
Public Method onCurrentDesignerChanged Raises the CurrentDesignerChanged event.
Public Method onDragDrop Raises the DragDrop event.
Public Method onUndoRedoChanged Raises the UndoRedoChanged event.
Public Method paste Copies the annotation objects from the clipboard to this AnnAutomation.
Public Method pasteAt Copies the annotation objects from the clipboard to this AnnAutomation at the specified location.
Public Method pasteStringAt Copies the annotation objects contained in a serialization object at the specified position.
Public Method realizeAllRedactions Realizes all the AnnRedactionObject objects in this AnnAutomation.
Public Method realizeRedaction Realizes the AnnRedactionObject object currently being edited (selected).
Public Method redo Reapplies the last operation that was undone in this AnnAutomation.
Public Method resetRotatePoints Resets the rotate control points of the selected AnnObject to their default locations.
Public Method restoreAllRedactions Restores all of the AnnRedactionObject objects in this AnnAutomation.
Public Method restoreRedaction Restores the AnnRedactionObject object currently being edited (selected).
Public Method selectLayer Selects a layer in this AnnAutomation.
Public Method selectObject Select an object in this AnnAutomation.
Public Method selectObjects Selects an object or a group of objects in this AnnAutomation.
Public Method sendLayerToBack Sends the currently selected layer down in the Z-order.
Public Method sendToBack Sends the currently selected object(s) down in the Z-order.
Public Method showContextMenu Displays the automation context menu.
Public Method showObjectContextMenu Displays the object context menu.
Public Method showObjectProperties Shows the object properties
Public Method undo Reverses the last operation performed in this AnnAutomation.
Public Method unlock Unlocks the object(s) currently being edited (selected).

Public Properties

Name Description
Public Property
active Gets or sets a value indicating whether this AnnAutomation is active.
Public Property activeContainer Gets or sets the active container of the automation.
Public Property automationControl Gets the automation control for this AnnAutomation.
Public Property canAlign Gets a value that indicates whether this AnnAutomation can align or change the size for selected objects based on alignment target.
Public Property canApplyAllDecryptors Gets a value that indicates whether any decryptor AnnEncryptObject object in this AnnAutomation can be applied.
Public Property canApplyAllEncryptors Gets a value that indicates whether any encryptor AnnEncryptObject object in this AnnAutomation can be applied.
Public Property canApplyDecryptor Gets a value that indicates whether the object currently being edited is a decryptor AnnEncryptObject and can be applied.
Public Property canApplyEncryptor Gets a value that indicates whether the object currently being edited (selected) is an encryptor AnnEncryptObject and can be applied.
Public Property 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.
Public Property canBringLayerToFront Gets a value that indicates whether this AnnAutomation is currently in a state where a layer can be brought up the z-order.
Public Property canBringToFirst Gets a value that indicates whether this AnnAutomation can bring the currently selected object(s) to the top of the Z-order.
Public Property canBringToFront Gets a value that indicates whether this AnnAutomation can bring the currently selected object(s) up in the Z-order.
Public Property canCopy Gets a value that indicates whether this AnnAutomation is currently in a state where objects can be copied to the clipboard.
Public Property canDeleteObjects Gets a value that indicates whether this AnnAutomation is currently in a state where objects can be deleted.
Public Property canFlip Gets a value that indicates whether this AnnAutomation is currently in a state where objects can be flipped.
Public Property canGroup Gets a value indicating whether this AnnAutomation is in a state where objects can be grouped together.
Public Property canLock Gets a value that indicates whether the object currently being edited (selected) can be locked.
Public Property canPaste Gets a value that indicates whether the clipboard contains annotation objects that can be pasted.
Public Property canRealizeAllRedactions Gets a value that indicates whether any of the AnnRedactionObject objects in this AnnAutomation can be realized.
Public Property canRealizeRedaction Gets a value that indicates whether the object currently being edited (selected) is an AnnRedactionObject object and can be realized.
Public Property canRedo Gets a value indicating whether the user can redo the previous operation performed in this AnnAutomation.
Public Property 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.
Public Property canRestoreAllRedactions Gets a value that indicates whether any AnnRedactionObject objects in this AnnAutomation can be restored.
Public Property canRestoreRedaction Gets a value that indicates whether the object currently being edited (selected) is a AnnRedactionObject and can be restored.
Public Property canSelectNone Gets a value indicating whether this AnnAutomation is in a state where it can deselect objects.
Public Property canSelectObjects Gets a value that indicates whether the this AnnAutomation is in a state where any object can be selected.
Public Property canSendLayerToBack Gets a value that indicates whether this AnnAutomation is currently in a state where a layer can be sent down the z-order.
Public Property 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.
Public Property canSendToBack Gets a value that indicates whether this AnnAutomation can send the currently selected object(s) down in the Z-order.
Public Property canSendToLast Gets a value that indicates whether this AnnAutomation can send the currently selected object(s) to the bottom of the Z-order.
Public Property canShowObjectContextMenu Gets a value that indicates whether this AnnAutomation is currently in a state where the object context menu can be displayed.
Public Property canShowObjectProperties Gets a value that indicates whether this AnnAutomation is currently in a state where the object properties can be displayed.
Public Property canShowProperties Gets a value that indicates whether this AnnAutomation is currently in a state where the user properties dialog can be displayed.
Public Property canUndo Gets a value that indicates whether the user can undo the previous operation performed in this AnnAutomation.
Public Property canUngroup Gets a value indicating whether this AnnAutomation is in a state where objects can be ungrouped.
Public Property canUnlock Gets a value that indicates whether the object currently being edited (selected) can be unlocked.
Public Property container Gets the AnnContainer of this AnnAutomation.
Public Property containers The list of containers in this AnnAutomation when multi-containers mode is used.
Public Property currentDesigner Gets the current working designer.
Public Property currentEditObject Gets the current AnnObject being edited.
Public Property defaultCurrentObjectId Gets or sets the annotations object id to use when a draw designer finishes its operation.
Public Property enableDragDrop Gets or sets a value that indicates whether drag and drop is enabled in this AnnAutomation.
Public Property manager Returns the AnnAutomationManager that this AnnAutomation object belongs to.
Public Property undoCapacity Gets or sets a value that specifies the capacity of the undo/redo buffer.

Public Events

Name Description
Public Event
static  | Shared in VB
activeContainerChanged Occurs when the active container of this object is changed.
Public Event static  | Shared in VB afterObjectChanged Occurs when an AnnObject has changed.
Public Event static  | Shared in VB afterUndoRedo Occurs after an undo or redo operation.
Public Event static  | Shared in VB beforeObjectChanged Occurs when an AnnObject is about to be changed.
Public Event static  | Shared in VB currentDesignerChanged Occurs when the current designer has been changed.
Public Event static  | Shared in VB deserializeObjectError Occurs when an error occur during an object serialization operation.
Public Event static  | Shared in VB dragDrop Occurs when an AnnObject is being dragged out of a container.
Public Event static  | Shared in VB draw Occurs when an AnnObject is being drawn.
Public Event static  | Shared in VB edit Occurs when an AnnObject is being edited.
Public Event static  | Shared in VB editContent Occurs when the content of an AnnObject is edited.
Public Event static  | Shared in VB editText Occurs when the text of an AnnObject is edited.
Public Event static  | Shared in VB lockObject Occurs when an AnnObject is locked.
Public Event static  | Shared in VB objectModified Occurs when one or more AnnObject has changed.
Public Event static  | Shared in VB onShowContextMenu Occurs when the automation needs to show the context menu when no objects are selected.
Public Event static  | Shared in VB onShowObjectProperties Occurs when the automation needs to show the properties dialog of the selected object.
Public Event static  | Shared in VB restoreCursor Occurs when the automation has determine that the original cursor needs to be restored.
Public Event static  | Shared in VB run Occurs when an AnnObject is being run.
Public Event static  | Shared in VB selectedObjectsChanged Occurs when the selected object changes.
Public Event static  | Shared in VB setCursor Occurs when the automation has determine that the user needs to change the cursor.
Public Event static  | Shared in VB toolTip Occurs when the mouse hovers over an annotation object and a tooltip is requested.
Public Event static  | Shared in VB undoRedoChanged Occurs when the undo or redo buffer changes.
Public Event static  | Shared in VB unlockObject Occurs when an AnnObject is unlocked.

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly