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





Gets or sets a value indicating whether this AnnDrawDesigner is currently in extended mode. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property ExtendedMode As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnDrawDesigner
Dim value As Boolean
 
instance.ExtendedMode = value
 
value = instance.ExtendedMode
C# 
public bool ExtendedMode {get; set;}
C++/CLI 
public:
property bool ExtendedMode {
   bool get();
   void set (bool value);
}
XAML Attributes Usage 

<object ExtendedMode=bool .../>

Dependencies Property Information 

Identifier field

ExtendedModeProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object ExtendedMode=bool .../>

Dependencies Property Information 

Identifier field

ExtendedModeProperty

Metadata properties set to true

None

Return Value

true if this AnnDrawDesigner is currently in extended mode; otherwise, false.

Remarks

The base AnnDrawDesigner does not use extended mode. However, derived AnnDrawDesigner classes can provide extra functionality and alter the way they function depending on the value of this property. The following table shows what the standard draw designers of LEADTOOLS will do if the value of ExtendedMode is set to true:

DesignerWhen ExtendedMode is set to true
AnnLineDrawDesignerThe line will be drawn at 45 degrees.
AnnPolylineDrawDesignerThe lines will be drawn at 45 degrees.
AnnRectangleDrawDesignerWill be forced to draw a square.
AnnTextDrawDesignerWill be forced to draw a square for the bounding box.
AnnTextPointerDrawDesignerWill be forced to draw a square for the bounding box.

Requirements

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

See Also

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