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





Gets or sets a value that represents the number of balls that will be drawn in the image. Only positive values are accepted.

Syntax

Visual Basic (Declaration) 
Public Property NumberOfBalls As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColoredBallsCommandBitmapEffect
Dim value As Integer
 
instance.NumberOfBalls = value
 
value = instance.NumberOfBalls
C# 
public int NumberOfBalls {get; set;}
Managed Extensions for C++ 
public: __property int get_NumberOfBalls();
public: __property void set_NumberOfBalls( 
   int value
);
C++/CLI 
public:
property int NumberOfBalls {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object NumberOfBalls =int >

Dependency Property Information 

Identifier field

NumberOfBallsProperty

Metadata properties set to true

None

Return Value

Value that represents the number of balls that will be drawn in the image. Only positive values are accepted.

Example

For XAML example, refer to ColoredBallsCommandBitmapEffect.

For C#/VB examples, refer to ColoredBallsCommandBitmapEffect.

Requirements

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

See Also