LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
CreateDefaultObjects Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : CreateDefaultObjects Method



The CreateDefaultObjects Method supports WPF/Silverlight.

The CreateDefaultObjects Method is available in LEADTOOLS Document and Medical Imaging toolkits.

Creates the default automation annotation objects. Supported in Silverlight, Windows Phone 7

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:
Id Object
GroupObjectId Special automation object that manages groups and the selection of multiple objects
SelectObjectId Special automation object that manages the case where no object is selected
LineObjectId Automation object for AnnLineObject
RectangleObjectId Automation object for AnnRectangleObject
EllipseObjectId Automation object for AnnEllipseObject
PolylineObjectId Automation object for AnnPolylineObject
PolygonObjectId Automation object for AnnPolygonObject
CurveObjectId Automation object for AnnCurveObject
ClosedCurveObjectId Automation object for AnnClosedCurveObject
PointerObjectId Automation object for AnnPointerObject
FreehandObjectId Automation object for AnnPolylineObject with AnnFreehandDrawDesigner
HiliteObjectId Automation object for AnnHiliteObject
TextObjectId Automation object for AnnTextObject
TextRollupObjectId Automation object for AnnTextRollupObject
TextPointerObjectId Automation object for AnnTextPointerObject
NoteObjectId Automation object for AnnNoteObject
StampObjectId Automation object for AnnStampObject
RubberStampObjectId Automation object for AnnRubberStampObject
HotspotObjectId Automation object for AnnHotspotObject
FreehandHotspotObjectId Automation object for AnnFreehandHotspotObject
ButtonObjectId Automation object for AnnButtonObject
PointObjectId Automation object for AnnPointObject
RedactionObjectId Automation object for AnnRedactionObject

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.