GetFillColor
Gets annotation fill color.
Inherited from ApiBaseAnnotation.GetFillColor.
Example
Create a square annotation and get its fill color in a PDF document.
// How to get the fill color for an annotation in a PDF document?
// Get the fill color and display the result in a PDF document.
let doc = Api.GetDocument();
let squareAnnot = Api.CreateSquareAnnot([10, 10, 160, 32]);
squareAnnot.SetFillColor(Api.RGB(255, 0, 0));
let page = doc.GetPage(0);
page.AddObject(squareAnnot);
console.log(`Annotation fill color is: ${squareAnnot.GetFillColor()}`);