|
Valore restituito: un nome risorsa generato automaticamente (Lab1, Lab2, ...). Restituisce la stringa vuota quando StrictVersionLock e attivo e la Version attiva e inferiore a PDF 1.3 (altrimenti la versione viene aggiornata automaticamente a 1.3)
Example di codice
// Register a D50 Lab space for print, paint a magenta swatch
var
CSName: AnsiString;
begin
HPDF.Version := pdf14;
HPDF.BeginDoc;
CSName := HPDF.RegisterLabColorSpace(
0.9505, 1.0, 1.089, // D50 WhitePoint
-128, 127, -128, 127); // standard a* and b* range
HPDF.CurrentPage.SetFillColorSpace(CSName);
HPDF.CurrentPage.SetFillColor([50.0, 60.0, -50.0]); // L* a* b*
HPDF.CurrentPage.Rectangle(60, 60, 200, 100);
HPDF.CurrentPage.Fill;
HPDF.EndDoc;
end;
Vedi anche
Version, Compression, Supporto dei filtri PDF
|