Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int Radius {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Radius =int >

Dependencies Property Information 

Identifier field

RadiusProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Radius =int >

Dependencies 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, Windows Server 2008 family

See Also