DK for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.LockPixels | Fields | Methods | Properties
Prepare the bitmap for direct pixel access.
// C# public virtual abstract void LockPixels( ref Int32[] _pixels, bool _writable, TGIS_BitmapFormat _format, TGIS_BitmapLinesOrder _order );
' VisualBasic Public Overridable MustOverride 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 ); virtual; abstract;
| Name | Type | Description |
|---|---|---|
| _pixels | Int32[] TGIS_Pixels | pixel buffer allocated and maintained between LockPixels and UnlockPixels |
| _writable | bool Boolean | True if the caller will modify pixel values |
| _format | TGIS_BitmapFormat | desired bitmap format of locked pixels; some platform operations require a format different from the native default |
| _order | TGIS_BitmapLinesOrder | desired bitmap lines order of locked pixels; some platform operations require an order different from the native default |
Must be paired with UnlockPixels.