Debenu Quick PDF logo

SetTextColorSep

Text, Color

Description

Sets the color for any subsequently drawn text. Similar to the SetTextColor function, but a tint of a separation color added with the AddSeparationColor function is used.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetTextColorSep(ColorName: WideString; 
  Tint: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetTextColorSep(ColorName As String,
  Tint As Double) As Long

DLL

int DPLSetTextColorSep(int InstanceID, wchar_t * ColorName, double Tint)

Parameters

ColorName The name of the separation color that was used with the AddSeparationColor function
Tint The amount of color to use. 0 indicates no color (white), 1 indicates maximum color.

Return values

0 The separation color name could not be found
1 The text color was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport