Noticed that the API gave one the ability to rotate text frames as well. I have been using the x,y, width and height successfully with a correct preview in the desktop environment as well. I am using an external database for the values (in inches) as the template has different attributes for the 2 frames being referenced. Once when I add the rotation value I get the frame completely off where it should be. If I take the rotation off the preview is correctly aligned. I attached a screen shot of where the frame X is 2.99 and the Y is 3 and its pretty far off. Any help from anyone familiar with my dilemma would be greatly appreciated.
below is the js sample of what i am using
tag_frame.x = BrochureXDF.GetFieldValue(fschool, "tag x")*7200;
tag_frame.y = BrochureXDF.GetFieldValue(fschool, "tag y")*7200;
tag_frame.width = BrochureXDF.GetFieldValue(fschool, "tag w")*7200;
tag_frame.height = BrochureXDF.GetFieldValue(fschool, "tag h")*7200;
dtp_frame.x = BrochureXDF.GetFieldValue(fschool, "dtp x")*7200;
dtp_frame.y = BrochureXDF.GetFieldValue(fschool, "dtp y")*7200;
dtp_frame.width = BrochureXDF.GetFieldValue(fschool, "dtp w")*7200;
dtp_frame.height = BrochureXDF.GetFieldValue(fschool, "dtp h")*7200;
tag_frame.x.rotationAngle = 270;