Hi, I'm not sure if this is the answer to your question (which I haven't
really understood), but please try the PrintImageLocations.java example
from the source code download.
Image objects do not know their own location(s).
Tilman
Am 23.07.2018 um 08:50 schrieb Ranjit Saripalli:
Hi,
I am trying to get location (Rectangle) of a COSObject but it seems only
xcoordinate and ycoordinate information is available for COSObject. I can
get the required details (location) from a PDXobject (PDXImage and
PDXFormObject) which is good but I am not able to find a corresponding
COSObject ( from PDXObject) and PDXObject has no User attribute values. I
need both user attribute information and location, unfortunately I cannot
get both from either one object (XObject or COSObject).
I was hoping to somehow identify COSObject from a PDXObject so I can get
location from XObject and then attribute values from corresponding
COSObject.
Could someone please share a way to identify corresponding COSObject from
an XObject or a way to get both user attribute values and location of an
element in PDF?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]