The annotation object does not have a method for setting its absolute position. However, the Hyperlink rectangle is ALWAYS at the bottom-left of the generated PDF no matter how I change the x & y values in the Rectangle arguments (int x, int y, int width, int height). I can create a hyperlink in the generated PDF. Stamper.Writer, rectangle, PdfAnnotation.HIGHLIGHT_INVERT, PdfAnnotation annotation = PdfAnnotation.CreateLink( Rectangle.BackgroundColor = BaseColor.LIGHT_GRAY (lower-left-x, lower-left-y, upper-right-x (llx + width), upper-right-y (lly + height), rotation angle
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |