DK for .NET | TatukGIS.NDK.TGIS_Bitmap.LockPixels | Overloads | Constructors | Methods | Properties
Return raw pixels
// C# public void LockPixels( ref Int32[] _pixels, bool _writable, TGIS_BitmapFormat _format, TGIS_BitmapLinesOrder _order );
' VisualBasic Public Sub LockPixels( ByRef _pixels As Int32(), ByVal _writable As Boolean, ByVal _format As TGIS_BitmapFormat, ByVal _order As TGIS_BitmapLinesOrder )
// Oxygene public procedure LockPixels( var _pixels : TGIS_Pixels; _writable : Boolean; _format : TGIS_BitmapFormat; _order : TGIS_BitmapLinesOrder );
| Name | Type | Description |
|---|---|---|
| _pixels | Int32[] TGIS_Pixels | array of pixels to be returned |
| _writable | bool Boolean | if true then upon Unlock changes in locked pixel array will be populated back to bitmap |
| _format | TGIS_BitmapFormat | format of locked pixel array; ARGB or BGRA |
| _order | TGIS_BitmapLinesOrder | rows order: bottom-up or top-bottom |