|
TintC1 - componenti alternate-CS a piena forza inchiostro (tint = 1.0). Il conteggio componenti deve corrispondere a AlternateCS; i valori sono in [0..1]. Notare che per DeviceGray la convenzione e 0 = nero e 1 = bianco (opposta al default immagine BlackIs1)
Valore restituito: un nome generato automaticamente (Sep1, Sep2, ...). Restituisce una stringa vuota quando StrictVersionLock è attivo e la Version corrente è inferiore a PDF 1.3; in caso contrario la versione del documento viene aumentata automaticamente a 1.3
Example di codice
// Register a Pantone-style spot ink backed by CMYK, paint four tint
// swatches showing the linear progression from no ink to full ink
var
SpotName: AnsiString;
T: Integer;
begin
HPDF.Version := pdf14;
HPDF.BeginDoc;
SpotName := HPDF.RegisterSeparation(
'Pantone 185 C', // ink name (spaces auto-escaped)
'DeviceCMYK', // alternate CS for screen / digital
[0.0, 0.95, 0.75, 0.0]); // CMYK at tint = 1.0
HPDF.CurrentPage.SetFillColorSpace(SpotName);
for T := 1 to 4 do
begin
HPDF.CurrentPage.SetFillColor([T * 0.25]);
HPDF.CurrentPage.Rectangle(60 + (T - 1) * 100, 100, 80, 60);
HPDF.CurrentPage.Fill;
end;
HPDF.EndDoc;
end;
Vedi anche
RegisterDeviceN, RegisterLabColorSpace, Version, Supporto dei filtri PDF
|