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

<object Width =int >

Dependencies Property Information 

Identifier field

WidthProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Width =int >

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

See Also