←Select platform

RoundRectangleRadius Property

Summary

Arc size of the rounded corners if the shape is ImageViewerSpyGlassShape.RoundRectangle.

Syntax
C#
Objective-C
C++/CLI
public virtual LeadSize RoundRectangleRadius { get; set; } 
@property (nonatomic, assign) double roundRectangleRadius; 
public:  
   virtual property LeadSize^ RoundRectangleRadius 
   { 
      LeadSize^ get() 
      void set(LeadSize^ value) 
   } 

Property Value

The arc size of the rounded corners in pixels if the shape is ImageViewerSpyGlassShape.RoundRectangle. The default value is 20 by 20.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
_imageViewer.InteractiveModes.BeginUpdate(); 
var spyGlass = new ImageViewerSpyGlassInteractiveMode(); 
spyGlass.BackgroundBrush = new SolidBrush(Color.FromArgb(128, Color.Yellow)); 
spyGlass.BackgroundBrush = Brushes.Yellow; 
spyGlass.AutoItemMode = ImageViewerAutoItemMode.AutoSet; 
spyGlass.EnsureVisible = false; 
_imageViewer.InteractiveModes.Add(spyGlass); 
_imageViewer.InteractiveModes.EndUpdate(); 
Requirements

Target Platforms

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

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