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

<object Width =int >

Dependency Property Information 

Identifier field

WidthProperty

Metadata properties set to true

None

Return Value

Value that represents the dimension of the vignette object, in pixels.
If Flags property contains: Then, Width property contains:
VignnetCommandBitmapEffectsFlags.SquareSquare width
VignnetCommandBitmapEffectsFlags.RectangleRectangle width
VignnetCommandBitmapEffectsFlags.CircleCircle radius.
VignnetCommandBitmapEffectsFlags.EllipseEllipse width.

Example

For XAML example, refer to VignnetCommandBitmapEffect.

For C#/VB examples, refer to VignnetCommandBitmapEffect.

Requirements

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

See Also