Are there anyone know how to move all element (text, line,) of a PageLayout (in GraphicsContainer) to left (or right, up...) 5 cm using C# ?
Thank you very much !
|
Are there anyone know how to move all element (text, line,) of a PageLayout (in GraphicsContainer) to left (or right, up...) 5 cm using C# ? Thank you very much ! |
|||||||
|
|
As noted in the comments ITransform2D.Move on the elements is the way to go. Remember that the IPageLayout.Page.Units can be different from centimeters though. The layout elements transformation methods take arguments in page units. You can use the UnitConverter class to convert between units in a generic way. |
|||
|
|