GetRgnPerimeterLength Method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short GetRgnPerimeterLength (ILEADRaster* pRaster)

Overview

Refer to Creating and Using a Bitmap Region

Remarks

Computes the length of the perimeter of a region.

The RgnPerimeterLength property is updated with the retrieved length value.

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

This method works only on bitmaps having a region. If a bitmap does not have a region the function Returns the error: Not Initialized.

This method supports signed data images.

See Also

Elements:

RgnPerimeterLength property, GetRgnContourPoints method

Topics:

Raster Images: Creating and Using a Region