Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Radius Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > RingEffectCommandBitmapEffect Class : Radius Property




Gets or sets the width of each ring in pixels or the maximum radius.

Syntax

Visual Basic (Declaration) 
Public Property Radius As Integer
Visual Basic (Usage)Copy Code
Dim instance As RingEffectCommandBitmapEffect
Dim value As Integer
 
instance.Radius = value
 
value = instance.Radius
C# 
public int Radius {get; set;}
Managed Extensions for C++ 
public: __property int get_Radius();
public: __property void set_Radius( 
   int value
);
C++/CLI 
public:
property int Radius {
   int get();
   void set (int value);
}

Return Value

If the RingEffectCommandBitmapEffectsFlags.Radius flag is set in the Flags property, this is the width of each ring, in pixels. If the RingEffectCommandBitmapEffectsFlags.MaxRadius flag is set in the Flags property, this is the maximum radius, in pixels. In this latter case, the width of each ring is equal to ((Radius property)/ (RingCount property + 1)). Only positive values are accepted.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also