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

IndexThe index of the annotation. The first annotation on the page has an index of 1.
RedThe red component of the color
GreenThe green component of the color
BlueThe blue component of the color
TransparencyThe amount of transparency to apply 0 = No transparency 50 = 50% transparency 100 = Invisible