Layers

ive been using Corel for a while now, & 1 thing as always bothered me.  when centering a document or graphic that is on multiple layers how do you center it without combining everything onto a new or already combind layer.  ie. text on layer 1 image on layer 2 if you group it it all goes on the same or diffrent layer

  • This is actually quite an interesting dilemma. Ariel, If I understand correctly, the scenario is that you have several shapes across several layers but also spread out all over the workspace. How would you go about selecting all those shapes and center the your selection to page yet keep all the shapes on their respective layers. As soon as you group them they will all end up on whatever layer is active at the time. Sounds like a macro project to me.

    • Myron said:

      This is actually quite an interesting dilemma. Ariel, If I understand correctly, the scenario is that you have several shapes across several layers but also spread out all over the workspace. How would you go about selecting all those shapes and center the your selection to page yet keep all the shapes on their respective layers. As soon as you group them they will all end up on whatever layer is active at the time. Sounds like a macro project to me.

      group each layer (you can lock other layers, or just select each layer) then select all objects and center?

      • sorry but that wont work. if i group ea layer & then Center it, it will jumble ea. layer to the center 1 on top of the other & move ea item from the layers to a layer that i'm working on. If i lock a layer then it wont move at all & i need it too.
        • Sub GroupAndCenterByLayer()
          Dim sr As ShapeRange
          Dim pw#, ph#
          ActiveDocument.ActivePage.GetSize pw, ph
          ActiveDocument.ReferencePoint = cdrCenter
          Set sr = ActiveSelectionRange
          If sr.Count = 0 Then Exit Sub
          sr.SetPosition pw / 2, ph / 2
          End Sub
          • This is great. thank you. quick question. what if i want it to center Horizontally or Vertically i tried to change where it says center but it didn't work. is there something else i need to change????
            • try removing one or the other "pw / 2" or "ph / 2"
              • hmmmm. the numbers are the key. i will have to play with this. it also makes a diffrence where my 0 point on my ruler is. that said really appreciate you help on this. however this is what im looking for. thanks again