pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: calculate area of polygon
Date Sun, 22 Oct 2017 14:24:24 GMT
Am 16.10.2017 um 02:43 schrieb chitgoks:
> Sorry i replied to the wrong email address
> please ignore my previous email
> measurement area, i meant polygonDimension annotation. i specify a
> calculation and set it as content to the annotation. when i move the
> polygonDimension annotation, it updates its calculation whether it is
> resized or moved. however, the resulting calculation is different in
> acrobat.
> i based the calculation of the area with this
> http://www.techbluff.com/javascript/function-to-calculate-polygon-area/
> or is this incorrect?

Sorry I can still not really understand your argument. The best would be 
to create a test file. If it doesn't work with a triangle or a 
rectangle, then create a polygon where it is easily to calculate the 
area manually, e.g. the form of a house (= retangle + equal triangle)


To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message