←Select platform

Shape Property (ImageViewerZoomToInteractiveMode)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize