ImageMan.Net Version 3 Summer 2012 Release
BitmapData Property
See Also  Send Feedback
DTI.ImageMan Namespace > ImImage Class : BitmapData Property





Glossary Item Box

Gets the memory address of the raster data for this image

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property BitmapData As System.IntPtr
Visual Basic (Usage)Copy Code
Dim instance As ImImage
Dim value As System.IntPtr
 
value = instance.BitmapData
C# 
public System.IntPtr BitmapData {get;}
JScript 
public function get BitmapData : System.IntPtr
Managed Extensions for C++ 
public: __property System.IntPtr get_BitmapData();
C++/CLI 
public:
property System.IntPtr BitmapData {
   System.IntPtr get();
}

Remarks

Returns the internal memory address of the bitmap data. Modifying this data will alter the image. The System IntPtr must be handled appropriately. Referencing before this buffer or off of the end of it can lead to system instability. To calculate buffer length simply multiply Height * RowStride.

This property will return an ObjectDisposedException if this object has been disposed.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.