THotPDF.RegisterICCProfile Método
ICCBasedResumen del método: THotPDF.RegisterICCProfile Método
Declaración
function RegisterICCProfile(const ProfileFileName: AnsiString; NumComponents : Integer; const AlternateCS : AnsiString= 'DeviceRGB'): AnsiString; overload;
Unidad
HPDFDoc
Parámetros
| Nombre | Propósito |
|---|---|
ProfileFileName | Archivo |
NumComponents | Componentes |
AlternateCS | Espacio de color alternativo |
AlternateCS | Matching DeviceGray, DeviceRGB, or DeviceCMYK fallback; an empty value derives it from the profile |
Valor de retorno
CS1Devuelve un valor: AnsiString
Notas de uso
- The profile header,
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 - Estable
- Loaded-page rendering transforms valid
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
APIs relacionadas
- THotPDF
- THPDFPage
- Contenido
- Contenido