List object names from desktop area

Is it possible to display object name values from desktop layer (not from the active page) ?

I am already using macro for renaming objects and moving them from all pages to desktop area.

Also using a macro to find the objects with particular value. But now I need a macro to display the object name values of each renamed objects. (All renamed object values are integer)

Can anyone help with this ?

Parents
No Data
Reply
  • C# Code

    double x1 = corelApp.ActivePage.LeftX;
    double x2 = corelApp.ActivePage.RightX;
    double y1 = corelApp.ActivePage.TopY;
    double y2 = corelApp.ActivePage.BottomY;
    ShapeRange outPageRange = corelApp.ActivePage.Shapes.All();
    ShapeRange sr = corelApp.ActivePage.SelectShapesFromRectangle(x1,y1,x2,y2,false).Shapes.All();
    outPageRange.RemoveRange(sr);
    sr.RemoveFromSelection();
    outPageRange.AddToSelection();

Children
No Data