indesign coordinates


hi,

i'm writing c++ application using  indesign cs5.5.which type of relationship between textframe coordinate , spread coordinate.i have page's height, width , textframe's height , width. formula obtaining x, y of texframe.please reply possible.

thanks in advance.

the "getpathboundingbox" method in igeometry interface can used coordinates of textframe.

 

if need these coordinates w.r.t, spread need pass transformation matrix converts inner coordinates spread coordinated argument method.

 

pmmatrix pageitem2pb = ::innertospreadmatrix(igeometry);

pmrect pageitemcoords = igeometry->getpathboundingbox(pageitem2pb);

 

the above code snippet shall serve purpose, , if want coordinates respect page page coordinates w.r.t spead , simple calculation give result.

 

the key here in order manipulate coordinates w.r.t other both pmrect's should dervied w.r.t common coordinate system.

 

manan joshi

 

- efficient indesign solutions

-metadesign solutions

http://metadesignsolutions.com/services/indesign-development.php



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support