Name
extgs:SetAlphaFill -- set filling transparency
Synopsis
status = extgs:SetAlphaFill(value)
Function
extgs:SetAlphaFill() defines the transparency for filling.

When extgs:SetAlphaFill() succeeds, it returns #HPDF_OK. Otherwise, it returns an error code and the error handler is invoked.

Inputs
value
the alpha value for filling; it must be between 0 and 1
Results
status
status code
Errors
#HPDF_INVALID_OBJECT - An invalid ExtGState handle was set.

#HPDF_EXT_GSTATE_READ_ONLY - The ExtGState object is read only.

#HPDF_EXT_GSTATE_OUT_OF_RANGE - An invalid value was set at value parameter.

#HPDF_FAILED_TO_ALLOC_MEM - Memory allocation failed.


Show TOC