←Select platform

Shape Property

Summary

Shape to use with this rubber band mode.

Syntax
C#
VB
C++
public override ImageViewerRubberBandShape Shape { get; set; } 
Public Overrides Property Shape() As ImageViewerRubberBandShape 
   Get 
   Set 
public:  
   virtual property ImageViewerRubberBandShape^ Shape 
   { 
      ImageViewerRubberBandShape^ get() override 
      void set(ImageViewerRubberBandShape^ value) override 
   } 

Property Value

The shape to use with this rubber band mode. Default value is ImageViewerRubberBandShape.Rectangle.

Remarks

This mode does not support ImageViewerRubberBandShape.Freehand, trying to set this shape will throw an exception.

You cannot change the shape if the mode is already working. Doing so will throw an exception.

Example

For an example, refer to ImageViewerRubberBandInteractiveMode.

Requirements

Target Platforms

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

Leadtools.Controls Assembly