When using the Rectangle constuctor :
public Rectangle(
double llx,
double lly,
double urx,
double ury)
in which unit are the coordinates indicated ?
Hi there,
Thanks for your inquiry. Please note Aspose.Pdf measuring unit is point and where 1 inch = 72 points and 1 cm = 1/2.54 inch = 0.3937 inch = 28.3 points.
Moreover origin position of all Aspose.Pdf objects (images, text, stamp, rectangle,page etc) is left bottom(0,0), for example in case of page dimensions left bottom of page is (0,0) and right top is (page width, page height). Hopefully the information will help you to work with Aspose.Pdf.
Please feel free to contact us for any further assistance.
Best Regards,