THotPDF.SetLoadedAnnotationModDate Method
Sets the annotation /M modification-date string
Declaration
procedure SetLoadedAnnotationModDate(PageIndex, AnnotationIndex: Integer; const AModDate: AnsiString);
Parameters
PageIndexis the zero-based loaded page indexAnnotationIndexis the zero-based annotation index on that pageAModDateis a PDF date string such asD:20260712120000-06'00'
Usage notes
- The method stores the supplied value without changing its time zone or precision
- Invalid indexes leave the loaded document unchanged
- Use
GetLoadedAnnotationModDateto recover the stored value
Related APIs
GetLoadedAnnotationModDate · SetLoadedAnnotationTitle · Loaded document toolkit