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 | Instructs 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 invalidate rectangle (the physical location and size) of a container | |
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. | |
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 position. | |
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). |
Protected Methods
Name | Description | |
---|---|---|
GetDefaultCurrentObjectId | Returns the value of the default current object id. | |
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. |
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 control points 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 | The annotations object ID to use when a draw designer finishes its operation. | |
EnableDragDrop | A value that indicates whether drag and drop is enabled in this AnnAutomation. | |
Manager | Returns the AnnAutomationManager that this AnnAutomation object belongs to. | |
UndoCapacity | 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. |