private void SetOriginBotLeft(IPCBIWindow parent)
        {
            IStep              step           = parent.GetCurrentStep();
            IMatrix            PCB_Matrix     = parent.GetMatrix();
            IODBObject         profile        = step.GetPCBOutlineAsODBObject();
            ISurfaceSpecificsD profileSurface = (ISurfaceSpecificsD)profile.GetSpecificsD();;

            RectangleD profileRect = profileSurface.GetBounds();
            PointD     OriginPoint = new PointD(-profileRect.Left, -profileRect.Top);;

            foreach (string layerName in PCB_Matrix.GetAllBoardLayerNames(true))
            {
                step.GetLayer(layerName).MoveLayer(OriginPoint.ToPointF());
            }
            profile.SetOffset(OriginPoint);

            parent.UpdateView();
        }