THotPDF.SetLoadedAnnotationColor Method

Sets the RGB colour of a specific annotation on a specified page of the loaded PDF, used to change the display colour of the annotation's icon or border

Declaration

procedure SetLoadedAnnotationColor(PageIndex, AnnotationIndex: Integer; AR, AG, AB: Single);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
AnnotationIndexZero-based annotation index in the page's annotation list
ARRed component, ranging from 0.0 to 1.0
AGGreen component, ranging from 0.0 to 1.0
ABBlue component, ranging from 0.0 to 1.0

Usage notes

This member returns no value

Usage notes

Related APIs