LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ExtendedMode Property
See Also 
Leadtools.Annotations Namespace > AnnDrawDesigner Class : ExtendedMode Property



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

Syntax

Visual Basic (Declaration) 
Public Overridable 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 virtual bool ExtendedMode {get; set;}
C++/CLI 
public:
virtual property bool ExtendedMode {
   bool get();
   void set (    bool value);
}

Property 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:

Designer When ExtendedMode is set to true
AnnLineDrawDesigner The line will be drawn at 45 degrees.
AnnPolylineDrawDesigner The lines will be drawn at 45 degrees.
AnnProtractorDrawDesigner The rulers will be drawn at 45 degrees.
AnnProtractorDrawDesigner The rulers will be drawn at 45 degrees.
AnnRectangleDrawDesigner Will be forced to draw a square.
AnnTextDrawDesigner Will be forced to draw a square for the bounding box.
AnnTextPointerDrawDesigner Will be forced to draw a square for the bounding box.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features