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;} |
Property Value
The width of this RasterImage in pixels.For an example, refer to RasterImage.
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.
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