Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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);
}
XAML Attributes Usage 

<object Radius =int >

Dependency Property Information 

Identifier field

RadiusProperty

Metadata properties set to true

None

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

For XAML example, refer to RingEffectCommandBitmapEffect.

For C#/VB examples, refer to RingEffectCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also