Hello, I've experimented with the Extract Text Sample and have been successful in extracting text. As a requirement, I only extract text that is in a certain named separation and at (integer) rotation angle values.
Now there is a requirement to get the start (x,y) position of the each of the rotated text strings. I tried capturing the TextPostion of the start of the line during the extraction process (writeString) and then applying a "reverse rotation" using the geometric x'=xcosθ-ysinθ etc. formula" but that didn't appear to give the correct results, as I am seeing negative coordinate values. I suspect that there is a matrix transformation that I am missing. Now I may have misunderstood the process here, so if someone could point me in the right direction then I would appreciate that. Thanks in advance.