Description
Sets the threshold (transparency range) for a
specified category.
Syntax
GpStatus WINGDIPAPI
GdipSetImageAttributesThreshold(
GpImageAttributes *imageattr,
ColorAdjustType
type,
BOOL enableFlag,
REAL threshold
);
PowerBASIC Syntax
DECLARE FUNCTION
GdipSetImageAttributesThreshold ( _
BYVAL imageattr
AS DWORD, _
BYVAL pType AS
LONG, _
BYVAL
enableFlag AS LONG, _
BYVAL threshold
AS SINGLE _
) AS LONG
Parameters
imageattr
[in] Pointer to the
ImageAttributes
object.
type
[in] Element of the
ColorAdjustType
enumeration that specifies the category for which the color threshold
is set. The default value is ColorAdjustTypeDefault.
enableFlag
[in] Boolean value that specifies
whether a separate threshold is enabled for the category specified by
the type parameter.
threshold
[in] Single precision value number that
specifies the threshold value.
|