SetFormFieldBackgroundColorSepA
Form fields, Color
Descrição
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetFormFieldBackgroundColorSep and string arguments are interpreted using the current SetAnsiMode code page
Define a cor de fundo do campo de formulário especificado. Semelhante à função SetFormFieldBorderColor, mas usa uma tonalidade de uma cor de separação adicionada com a função AddSeparationColor. A especificação PDF não suporta espaços de cores de separação para campos de formulário, de modo que os resultados podem nem sempre funcionar, especialmente se o campo for editado posteriormente no Acrobat. Este recurso foi adicionado para situações em que o campo de formulário será achatado
Sintaxe
Delphi
Function DLSetFormFieldBackgroundColorSepA(InstanceID, Index: Integer; ColorName: PAnsiChar; Tint: Double): Integer;
DLL
int DLSetFormFieldBackgroundColorSepA(int InstanceID, int Index, const char * ColorName, double Tint);
Parâmetros
| Index | The index of the form field |
|---|---|
| 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 form field could not be found, or the separation color name could not be found |
|---|---|
| 1 | The background color of the specified form field was set successfully |