In the future, please post a macro and file set that repeats the problem in the simplest way possible. Most people don't know what API calls you are using so it makes it hard for them to help you.
My guess is that you are using IView::Position to find the center and IView::GetOutline to get the max and min coordinates of the view outline. There is a known bug in IView::Position concerning this:
SPR 682112 - View position does not change after configuration changes. “IView::Position and IView::GetXform produce the same results even after a configuration change revises view extents”.
I would recommend that you email API support and ask them to add you to the notification list for this bug.
As you noted, you'll need to perform some math to get the center value using IView::GetOutline.
Keith you are right...
So here my code...
SldWorks swApp = new SldWorks();
ModelDoc2 swDoc = null;
DrawingDoc swDraw = default(DrawingDoc);
swDoc = ((ModelDoc2)(swApp.ActiveDoc));
swDraw = ((DrawingDoc)(swDoc));
swView = swDraw.GetFirstView();// get sheet.
swView = swView.GetNextView();// get drawign view1
string drawingViewName = swView.GetName2();// get drawing view name
object objPrevOutline = swView.GetOutline();// get drawign view1 outline
double vPos = swView.Position;// get drawign view1 center position vPos=x, vPos=y
However you answered my questions there are noway to fix it...