Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CreateDefaultObjects Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : CreateDefaultObjects Method



Creates the default automation annotation objects.

Syntax

Visual Basic (Declaration) 
Public Sub CreateDefaultObjects() 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
 
instance.CreateDefaultObjects()
C# 
public void CreateDefaultObjects()
C++/CLI 
public:
void CreateDefaultObjects(); 

Example

For C#/VB examples, refer to AnnAutomationManager.

Remarks

Call this method to create the default automation annotation objects.

For information regarding default text strings used throughout the user interface in the automated mode, including information on how to override them, refer to Localization of LEADTOOLS for .NET WPF Annotations Automation

For information regarding implementing annotations, refer to Implementing WPF Annotations.

The following table lists, for each default automation object, its ID name and corresponding description:
IdObject
GroupObjectIdSpecial automation object that manages groups and the selection of multiple objects
SelectObjectIdSpecial automation object that manages the case where no object is selected
LineObjectIdAutomation object for AnnLineObject
RectangleObjectIdAutomation object for AnnRectangleObject
EllipseObjectIdAutomation object for AnnEllipseObject
PolylineObjectIdAutomation object for AnnPolylineObject
PolygonObjectIdAutomation object for AnnPolygonObject
CurveObjectIdAutomation object for AnnCurveObject
ClosedCurveObjectIdAutomation object for AnnClosedCurveObject
PointerObjectIdAutomation object for AnnPointerObject
FreehandObjectIdAutomation object for AnnPolylineObject with AnnFreehandDrawDesigner
HiliteObjectIdAutomation object for AnnHiliteObject
TextObjectIdAutomation object for AnnTextObject
TextRollupObjectIdAutomation object for AnnTextRollupObject
TextPointerObjectIdAutomation object for AnnTextPointerObject
NoteObjectIdAutomation object for AnnNoteObject
StampObjectIdAutomation object for AnnStampObject
RubberStampObjectIdAutomation object for AnnRubberStampObject
HotspotObjectIdAutomation object for AnnHotspotObject
FreehandHotspotObjectIdAutomation object for AnnFreehandHotspotObject
ButtonObjectIdAutomation object for AnnButtonObject
PointObjectIdAutomation object for AnnPointObject
RedactionObjectIdAutomation object for AnnRedactionObject

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

CreateDefaultObjects requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.