Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Sets or changes the color of an annotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
AnnotationHandle | The annotation index. | 5 |
ColorSelector | Which color to change. Can be BackColor, BorderColor or TextColor. | "TextColor" |
ColorSpace | The color space to use. Can be DeviceRGB, DeviceCMYK or DeviceGray. | "DeviceRGB" |
ColorValue | The color value as number. | 255 |
Returns OK or error.
See also SetAnnotColor function in DynaPDF manual.
Created 25th November 2014, last changed 25th November 2014
DynaPDF.SetAnnotBorderWidth - DynaPDF.SetAnnotDate
Feedback: Report problem or ask question.