←Select platform
In This Topic ▼

AnnAutomation Class Methods

Summary

For a list of all members of this type, see AnnAutomation members

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 Instructs 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 invalidate rectangle (the physical location and size) of a container
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 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 position.
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).

Protected Methods

Name Description
Protected Method
GetDefaultCurrentObjectId Returns the value of the default current object id.
Protected Method OnAfterUndoRedo Raises the AfterUndoRedo event.
Protected Method OnAutomationPointerDown Called by the IAnnAutomationControl pointer down event.
Protected Method OnAutomationPointerMove Called by the IAnnAutomationControl pointer move event.
Protected Method OnAutomationPointerUp Called by the IAnnAutomationControl pointer up event.
Protected Method OnCurrentDesignerChanged Raises the CurrentDesignerChanged event.
Protected Method OnDragDrop Raises the DragDrop event.
Protected Method OnUndoRedoChanged Raises the UndoRedoChanged event.

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