←Select platform

DrawOnClick Property

Summary

Automatically draws a complete object on the first user click.

Syntax
C#
C++/CLI
Python
public bool DrawOnClick { get; set; } 
public:  
   property bool DrawOnClick 
   { 
      bool get() 
      void set(bool value) 
   } 
DrawOnClick # get and set (AnnRectangleDrawDesigner) 

Property Value

true to automatically draw a complete object on the first user click; otherwise, false. The default value is false.

Remarks

When DrawOnClick is false (the default value), the user must click to draw the first point of the rectangle (top-left corner), and then drag and release to draw the second point (bottom-right). The object is added to the container only after the user finishes the entire operation.

When DrawOnClick is set to true, a new rectangle object is added to the container as soon as the user clicks to select the first point (top-left corner). The size of the rectangle is fixed to 100 by 100 annotation units.

Requirements

Target Platforms

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

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.