Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.GetAnnotColor
Retrieves the color of an annotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 14.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetAnnotColor"; PDF; Handle; ColorType ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Handle | The annotation handle. | 0 |
ColorType | The color type to retrieve. Can be numeric or text BackColor, BorderColor, TextColor. |
"TextColor" |
Result
Returns JSON or error.
Description
Retrieves the color of an annotation.If a color type is not supported by an annotation, the function returns error.
See also
- DynaPDF.GetAnnotation
- DynaPDF.GetAnnotCount
- DynaPDF.GetAnnotLink
- DynaPDF.GetAnnotType
- DynaPDF.New
- DynaPDF.SetAnnotColor
- DynaPDF.SetAnnotFlags
- DynaPDF.SetAnnotIcon
- DynaPDF.SetFieldColor
- DynaPDF.SetStrokeColor
Release notes
- Version 14.5
- Added DynaPDF.GetAnnotColor and DynaPDF.GetTextBBox functions.
Blog Entries
This function checks for a license.
Created 3th October 2024, last changed 3th October 2024