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)
V1First colour component; components beyond the profile component count are ignored
V2Second colour component; components beyond the profile component count are ignored
V3Third colour component; components beyond the profile component count are ignored
V4Fourth colour component; components beyond the profile component count are ignored

Return values

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