Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetAnnotDate
Sets or changes the creation or modification date of an annotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetAnnotDate"; PDF; AnnotationHandle; DateType; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
AnnotationHandle | The annotation index. | 5 |
DateType | The type of date. Can be CreationDate (Markup annotations only) or ModificationDate. | "ModificationDate" |
Value | The new date value. Can be a timestamp or the number of seconds from 1st Jan 1970. | Get(CurrentHostTimeStamp) |
Result
Returns OK or error.
Description
Sets or changes the creation or modification date of an annotation.The following annotation types are markup annotations:
- Care
- Circle, Square
- FileAttach
- FreeText
- Highlight, Squiggly, Strikeout, Underline
- Ink
- Line
- PolyLine, Polygon
- Projection
- Redact
- Sound
- Stamp
- Text
See also SetAnnotDate function in DynaPDF manual.
See also
- DynaPDF.GetAnnotation
- DynaPDF.GetAnnotFlags
- DynaPDF.GetAnnotLink
- DynaPDF.GetAnnotType
- DynaPDF.New
- DynaPDF.SetAnnotColor
- DynaPDF.SetAnnotFlags
- DynaPDF.SetAnnotIcon
- DynaPDF.SetAnnotOpacity
- DynaPDF.SetOCGState
This function checks for a license.
Created 25th November 2014, last changed 25th November 2014