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 right 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 an 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).

See Also

Reference

AnnAutomation Class

Leadtools.Annotations.Automation Namespace

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

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.