A
Anders
We are dropping a selection from within a VB6 .dll.
The problem we have is that the drop of the selection (approx 100 shapes) on
a new page is taking very long time (approx 10 seconds). Is there a way to
speed things up?
The code:
Set lSel = lSpl.SpatialNeighbors(0, 0, 0)
lX = lLeft + (lRight - lLeft) / 2 + lFrm.CellsU("pinX").ResultIU -
lSpl.Cells ("Pinx").ResultIU + (20 + 5) / 25.4
lY = lBottom + (lTop - lBottom) / 2
lSel.BoundingBox 7, lLeft, lBottom, lRight, lTop
lPagO.Drop lSel, lX, lY
The problem we have is that the drop of the selection (approx 100 shapes) on
a new page is taking very long time (approx 10 seconds). Is there a way to
speed things up?
The code:
Set lSel = lSpl.SpatialNeighbors(0, 0, 0)
lX = lLeft + (lRight - lLeft) / 2 + lFrm.CellsU("pinX").ResultIU -
lSpl.Cells ("Pinx").ResultIU + (20 + 5) / 25.4
lY = lBottom + (lTop - lBottom) / 2
lSel.BoundingBox 7, lLeft, lBottom, lRight, lTop
lPagO.Drop lSel, lX, lY