Vcl.Graphics.TBitmap.ScanLine
Delphi
property ScanLine[Row: Integer]: Pointer read GetScanLine;
C++
__property void * ScanLine[int Row] = {read=GetScanline};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBitmap |
Description
Provides indexed access to each line of pixels.
ScanLine is used only with DIBs (Device Independent Bitmaps) for image editing tools that do low-level pixel work.
See Also
- Placing the Control
- Setting the Initial Bitmap Size
- VCL Reference: Graphics.TBitmap.PixelFormat
- Converting to grayscale with TBitmap.ScanLine property, by Pawel Glowacki
Code Examples