←Select platform

ExtendedMode Property

Summary

A value indicating whether this AnnDrawDesigner is currently in extended mode.

Syntax
C#
VB
C++
Java
public virtual bool ExtendedMode { get; set; } 
Public Overridable Property ExtendedMode As Boolean 
c#[WinRT C# Syntax] 
public virtual bool ExtendedMode {get; set;} 
public boolean getExtendedMode(); 
public void setExtendedMode(boolean value); 
 <br/>get_ExtendedMode();<br/>set_ExtendedMode(value);<br/>Object.defineProperty('ExtendedMode');  
public:  
   virtual property bool ExtendedMode 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if this AnnDrawDesigner is currently in extended mode, otherwise; false. Default value is 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
AnnRectangleDrawDesigner Will be forced to draw a square for the bounding box
AnnTextPointerDrawDesigner Will be forced to draw a square for the bounding box

Note: This property is not supported in WinRTPhone.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly