Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

OBP_FailIfBad

Tag for ObtainBestPenA() If True and Precision is PRECISION_EXACT and no exact color can be found or allocated the function will fail.

Declaration

Source position: agraphics.pas line 1121

const OBP_FailIfBad = $84000001;

Description

Specifies that you want ObtainBestPenA() to return a failure value if there is not a color within the given tolerance, instead of returning the closest color. With OBP_FailIfBad = False, ObtainBestPenA() will only fail if the ViewPort contains no sharable colors. Defaults to False.


Documentation generated on: 2021-07-30