public static Geometry.Rectangle GetBoundingBox( this IVisio.Shape shape, IVisio.VisBoundingBoxArgs args) { var surface = new SurfaceTarget(shape); var r = surface.GetBoundingBox(args); return(r); }