SetMarkupAnnotStyle
Color, Annotations and hotspot links
Description
Sets the background color and transparency of a text markup annotation.
Syntax
Delphi
Function TPDFlib.SetMarkupAnnotStyle(Index: Integer; Red, Green, Blue, Transparency: Double): Integer;
ActiveX
Function PDFlib::SetMarkupAnnotStyle(Index As Long, Red As Double, Green As Double, Blue As Double, Transparency As Double) As Long
DLL
int DLSetMarkupAnnotStyle(int InstanceID, int Index, double Red, double Green, double Blue, double Transparency);
Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
|---|---|
| Red | The red component of the color |
| Green | The green component of the color |
| Blue | The blue component of the color |
| Transparency | The amount of transparency to apply 0 = No transparency 50 = 50% transparency 100 = Invisible |