HPDF_SetInfoDateAttr (HPDF_Doc pdf, HPDF_InfoType type, HPDF_Date value) { HPDF_STATUS ret; HPDF_Dict info = GetInfo (pdf); HPDF_PTRACE((" HPDF_SetInfoDateAttr\n")); if (!info) return HPDF_CheckError (&pdf->error); ret = HPDF_Info_SetInfoDateAttr (info, type, value); if (ret != HPDF_OK) return HPDF_CheckError (&pdf->error); return ret; }
HPDF_MarkupAnnot_SetCreationDate (HPDF_Annotation annot, HPDF_Date value) { HPDF_PTRACE((" HPDF_MarkupAnnot_SetCreationDate\n")); return HPDF_Info_SetInfoDateAttr( annot, HPDF_INFO_CREATION_DATE, value); }