THotPDF.RegisterICCProfile Method
Povzetek metode: THotPDF.RegisterICCProfile MethodICCBased colour-space resource
Deklaracija
function RegisterICCProfile(const ProfileFileName: AnsiString; NumComponents : Integer; const AlternateCS : AnsiString= 'DeviceRGB'): AnsiString; overload;
Enota
HPDFDoc
Parametri
| Name | Namen |
|---|---|
ProfileFileName | File |
NumComponents | Components |
AlternateCS | Alternate colour space |
AlternateCS | Matching DeviceGray, DeviceRGB, or DeviceCMYK fallback; an empty value derives it from the profile |
Vrnjena vrednost
Vrne vrednost: AnsiStringCS1
Opombe o uporabi
- Klic: preflight validation
acspsignature, declared size, version, PCS, rendering intent, tag table, tag bounds, and component count are validated before an indirect object is created - The overloads without
NumComponentsinfer one, three, or four components from GRAY, RGB, or CMYK profile data - Stabilni identifikatorji
- Register named colour resources before using them from page-level painting commands
ICCBasedvector colours and raw image samples to sRGB through the embedded ICC pipeline, honours all PDFrirendering intents, applies configured black-point compensation, and uses/Alternateonly when conversion is unavailable - Use the returned name with
THPDFPage.SetFillColorSpace,SetStrokeColorSpace,SetTransparencyGroupICC, orTHotPDF.RegisterDefaultColorSpace
Povezani API-ji
- THotPDF
- THPDFPage
- Vsebina
- Vsebina