public static HPDF_Annotation HPDF_LinkAnnot_New(HPDF_Xref xref, HPDF_Rect rect, HPDF_Destination dest) { LibLogger.Debug(MethodBase.GetCurrentMethod().DeclaringType, "HPDF_LinkAnnot_New"); HPDF_Annotation annot = new HPDF_Annotation(xref, (uint)HPDF_AnnotType.HPDF_ANNOT_LINK, rect); annot.HPDF_Dict_Add("Dest", dest); return(annot); }
public HPDF_Annotation HPDF_URILinkAnnot_New(HPDF_Xref xref, HPDF_Rect rect, string uri) { LibLogger.Debug(this.GetType(), "HPDF_URILinkAnnot_New"); HPDF_Annotation annot; HPDF_Dict action; annot = new HPDF_Annotation(xref, (uint)HPDF_AnnotType.HPDF_ANNOT_LINK, rect); /* create action dictionary */ action = new HPDF_Dict(); annot.HPDF_Dict_Add("A", action); action.HPDF_Dict_AddName("Type", "Action"); action.HPDF_Dict_AddName("S", "URI"); action.HPDF_Dict_Add("URI", new HPDF_String(uri, null)); return(annot); }
// TODO: body public void HPDF_TextAnnot_SetOpened(HPDF_Annotation annot, HPDF_Boolean opened) { LibLogger.Debug(this.GetType(), "HPDF_LinkAnnot_SetHighlightMode"); }
// TODO: body public void HPDF_TextAnnot_SetIcon(HPDF_Annotation annot, uint icon) { LibLogger.Debug(this.GetType(), "HPDF_LinkAnnot_SetHighlightMode"); }