>*draw a circle at coord x,y with rayon=ray >declare HPDF_STATUS HPDF_Page_Circle in libhpdf.dll HPDF_Page page ; > ,HPDF_REAL x ; > ,HPDF_REAL y ; > ,HPDF_REAL ray > >procedure Page_Circle(page as HPDF_Page ; > ,x as HPDF_REAL ; > ,y as HPDF_REAL ; > ,ray as HPDF_REAL ) as HPDF_STATUS > this.status = HPDF_Page_Circle(m.page,m.x,m.y,m.ray) > return this.status >endproc ><pre> > >or this in same registry and in class definition. ><pre> >*load a JPEG image from a file >declare HPDF_Image HPDF_LoadJpegImageFromFile in libhpdf.dll HPDF_Doc pdf, string filename >procedure LoadJpegImageFromFile(filename AS String ) as HPDF_Image > retval = HPDF_LoadJpegImageFromFile(this.doc, m.filename) > if m.retval = 0 > this.status = this.GetError() > endif > return m.retval >endproc >