LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Width Property
See Also 
Leadtools Namespace > RasterImage Class : Width Property



Gets the width of this RasterImage in pixels. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Width As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As Integer
 
value = instance.Width
C# 
public int Width {get;}
C++/CLI 
public:
property int Width {
   int get();
}

Property Value

The width of this RasterImage in pixels.

Example

For an example, refer to RasterImage.

Remarks

This is the actual width of the image data scanline.

Use ImageWidth to get the width of the image taking the ViewPerspective into account. For more information refer to Accounting For View Perspective.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also