THotPDF.RegisterICCProfile Method

Waliduje i rejestruje reużywalny profil ICC v2 albo v4 jako zasób przestrzeni kolorów ICCBased

Deklaracja

function RegisterICCProfile(const ProfileFileName: AnsiString; NumComponents : Integer; const AlternateCS : AnsiString= 'DeviceRGB'): AnsiString; overload;

Jednostka

HPDFDoc

Parametry

NazwaPrzeznaczenie
ProfileFileNamePath to the ICC profile
ProfileStreamICC profile stream whose current position is preserved
NumComponentsExpected profile component count, which must match the ICC data colour-space signature
AlternateCSMatching DeviceGray, DeviceRGB, or DeviceCMYK fallback; an empty value derives it from the profile

Wartość zwracana

Zwraca reużywalną nazwę zasobu przestrzeni kolorów, np. CS1

Uwagi dotyczące użycia

Powiązane API