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




Gets or sets the dimension of the vignette object, in pixels.

Syntax

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

Return Value

Value that represents the dimension of the vignette object, in pixels.
If Flags property contains: Then, Width property contains:
VignnetCommandBitmapEffectsFlags.Square Square width
VignnetCommandBitmapEffectsFlags.Rectangle Rectangle width
VignnetCommandBitmapEffectsFlags.Circle Circle radius.
VignnetCommandBitmapEffectsFlags.Ellipse Ellipse width.

Example

Refer to VignnetCommandBitmapEffect 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