DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel.LockPixels_7 | Methods | Properties
Locks a fragment of the pixel layer for updating.
// C# public ITGIS_LayerPixelLock LockPixels_7( ITRect _rct, ITGIS_Extent _ext, int _tilelevel, int _tilerow, int _tilecolumn, WordBool _writable );
' VisualBasic Public Function LockPixels_7( ByVal _rct As ITRect, ByVal _ext As ITGIS_Extent, ByVal _tilelevel As Integer, ByVal _tilerow As Integer, ByVal _tilecolumn As Integer, ByVal _writable As WordBool ) As ITGIS_LayerPixelLock
// Oxygene public function LockPixels_7( _rct : ITRect; _ext : ITGIS_Extent; _tilelevel : Integer; _tilerow : Integer; _tilecolumn : Integer; _writable : WordBool ) : ITGIS_LayerPixelLock;
Name | Type | Description |
---|---|---|
_rct | ITRect | rectangle on raster to be locked; if bigger then raster size then will be truncated |
_ext | ITGIS_Extent | area to be locked; if bigger then layer extent then will be truncated to layer extent |
_tilelevel | int Integer | tile level |
_tilerow | int Integer | tile row |
_tilecolumn | int Integer | tile column |
_writable | WordBool | if true than layer will post back any changes in locked area; if write is not possible then TGIS_LayerPixelLock.Writable will be set accordingly |
Type | Description |
---|---|
ITGIS_LayerPixelLock | locked area |
Must be paired with UnlockPixels.
To speed-up operation, the function can return a larger area than requested. Use Bounds
property of result value to obtain actual scope.