SetLineColorICCBased

Graphics and color

Description

Selects a stroke colour in an /ICCBased colour space backed by an ICC profile file

Syntax

Delphi

Function SetLineColorICCBased(Const ProfileFileName: WideString; V1, V2, V3, V4: Double): Integer;

Parameters

ProfileFileNameICC profile file; the component count follows the profile header (GRAY 1, RGB/LAB 3, CMYK 4)
V1..V4Colour components; unused trailing components are ignored

Return value

1 when the colour space was selected, 0 for a missing profile or an unsupported colour space signature

Remarks

Strokes emit the SCN operator with the profile's component count, mirroring SetFillColorICCBased for fills

See also

SetFillColorICCBased, SetLineColorSep