How i can move all objects from actual layer in x, y?
and how i can group it?
If you want to move all objects on a layer you can do it like this:
ActiveLayer.Shapes.All.Move 1, 2
If you want to group all objects on a layer you can do it like this:
ActiveLayer.Shapes.All.Group
If you want to put all objects on a layer at a certain position you can do this:
Dim s As Shape Set s = ActiveLayer.Shapes.All.Group s.SetPositionEx cdrCenter, 2, 2
Happy Coding,
-Shelby
Maybe i made some wrong, but i have this also tried without success.I think the functions are in c# the same....
For C# it would be this:
corelApp.ActiveLayer.Shapes.All().Move(1, 2); corelApp.ActiveLayer.Shapes.All().Group();
Happy coding,
Hi Shelby. Many thanks, this works excellent. I can't find any documentation with examples in C# anywhere.Do you have a suggestion where I can get such information? It is not absolutely necessary, because here community extremely quick and perfect ;-)
-RemoExample for C# (no example exists)
The same for VBA (perfect examples on mostly every methods)
You are correct there are fewer examples for C# than VBA. So I normally look at the VBA Example, then the C# and see if I can figure it out.