GetAverageColor Method

See Also     Examples     Applies To

Returns the average color for the native GdPicture image or for an area of the native GdPicture image defined by SetROI() function.

Syntax

object.GetAverageColor ()

The GetAverageColor syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

Long. The ARGB average color.

Remarks

Use the GetStat() function to check if this function has completed successfully.

Category

Standalone Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.