LineProfile method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short LineProfile(ILEADRaster *pRaster, long xStart, long yStart, long xEnd, long yEnd);

Overview

Refer to Examining and Altering Bitmaps.

Remarks

Updates the LineProfileRed, LineProfileGreen and LineProfileBlue properties with the R, G and B profile for each pixel in the specified line.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Supportfor 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

Pixel property, LineProfileRed property, LineProfileGreen property, LineProfileBlue property, LineProfileSize property

Topics:

Raster Images: Getting Current Information