Class VLBasicBitmap.TVLBasicBitmap
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| (One intermediate revision by one user not shown) | |||
| Line 5: | Line 5: | ||
</span></b>  | </span></b>  | ||
| − | '''Package:''' [[Package   | + | '''Package:''' [[Package Mitov.BasicLab|Mitov.BasicLab]]  | 
'''Unit:''' [[Unit VLBasicBitmap|VLBasicBitmap]]  | '''Unit:''' [[Unit VLBasicBitmap|VLBasicBitmap]]  | ||
| Line 24: | Line 24: | ||
=== C# (.NET): ===  | === C# (.NET): ===  | ||
<code>  | <code>  | ||
| − | '''public ref class'''   | + | '''public ref class''' BasicBitmap  | 
</code>  | </code>  | ||
== Summary ==  | == Summary ==  | ||
Latest revision as of 00:29, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: Mitov.BasicLab
Unit: VLBasicBitmap
Contents | 
Syntax
Delphi:
type TVLBasicBitmap = class
C++ Builder:
class TVLBasicBitmap
Visual C++ (MFC):
class CTVLBasicBitmap
C# (.NET):
public ref class BasicBitmap
Summary
Bitmap wrapper class for thread safe bitmap access.
Description
Defines a Bitmap wrapper class for thread safe bitmap access. Use this class when you need to access a bitmap from different threads.
Properties
Public
- PixelFormat - Specifies the pixel format of the bitmap.
 - Height - The Height of the Bitmap.
 - Width - The Width of the Bitmap.
 - Canvas - Access the the drawing context of the bitmap.
 - RawData - Returns pointer to the raw bitmap data.
 
Methods
Public
- procedure Resize(AWidth : Integer; AHeight : Integer) - Resizes the bitmap.
 - procedure SetSize(AWidth : Integer; AHeight : Integer) - Resizes the bitmap.
 - procedure SaveToFile(Filename : String) - Saves the bitmap to a bitmap file.
 - procedure SaveToStream(Stream : TStream) - Saves the bitmap to a stream.
 - procedure FromBuffer(APtr : PByte; AScanlineStep : Integer) - Populates the bitmap from a video buffer.
 - procedure ToBuffer(APtr : PByte; AScanlineStep : Integer) - Populates a buffer from the bitmap data.
 - procedure ToBitmap(ABitmap : TBitmap) - Copies the bitmap to a standard bitmap object.
 - function GetDC() : HDC - Returns the Windows Device Context (DC) of the internal bitmap.
 - function GetHBitmap() : HBITMAP - Returns the HBITMAP handle of the internal bitmap.