SetLineColorICCBased
Graphics and colour
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
| ProfileFileName | ICC profile file; the component count follows the profile header (GRAY 1, RGB/LAB 3, CMYK 4) |
|---|---|
| V1..V4 | First colour component; components beyond the profile component count are ignored |
| V2 | Second colour component; components beyond the profile component count are ignored |
| V3 | Third colour component; components beyond the profile component count are ignored |
| V4 | Fourth 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