Hi Dhruv,
PBESCAPEMENTMODE affects the center of the circle of object text rotation, the following are my test results for your reference. Suppose the object has position (x, y), width w, and height h.
When PBESCAPEMENTMODE=1, (x + 1/2*w, y) is the center of the circle, that is, the top center of the object is the center of the circle of the rotation.
When PBESCAPEMENTMODE=0(it is the default value), the center of the circle depends on the alignment, as follows:
Left (x, y + h), the bottom left corner.
Right (x + w, y), the top right corner.
Center (x + 1/2*w, y + 1/2*h), the center of the object.
Justify (x, y + h), the bottom left corner.
We will document this in the later version.
For your issue:
1) There is no feasible way to judge whether one report is created with PBESCAPEMENTMOD 1 or 0.
Please note the background color will rotate but object border not, so please set the object's border and background color, and then observe the rotation result; if you get correct result when the top center of the object is the center of the circle of the rotation, then it is created with PBESCAPEMENTMOD 1, otherwise it is created with PBESCAPEMENTMOD 0.
2) Close PB IDE, add setting like below in %localappdata%\appeon\powerbuilder 22.0\pb.ini.
[PB]
PBESCAPEMENTMODE=1
Regards,
kai