Ejemplo n.º 1
0
 public TRsMap2.TVarData myGetVar()
 {
     TRsMap2.TVarData v = new TRsMap2.TVarData();
     v.dCenterPoint        = this.pMemMap.dCenterPoint;
     v.dProection          = this.pMemMap.dProection;
     v.dScale              = this.pMemMap.dScale;
     v.dScaleSensitivity   = this.pMemMap.dScaleSensitivity;
     v.dShowCoordinateGrid = this.pMemMap.dShowCoordinateGrid;
     v.dShowScaleBar       = this.pMemMap.dShowScaleBar;
     v.dDetailDraw         = this.pMemMap.dDetailDraw;
     return(v);
 }
Ejemplo n.º 2
0
 public void mySetVar(TRsMap2.TVarData v)
 {
     if (v == null)
     {
         return;
     }
     this.pMemMap.dCenterPoint        = v.dCenterPoint;
     this.pMemMap.dProection          = v.dProection;
     this.pMemMap.dScale              = v.dScale;
     this.pMemMap.dScaleSensitivity   = v.dScaleSensitivity;
     this.pMemMap.dShowCoordinateGrid = v.dShowCoordinateGrid;
     this.pMemMap.dShowScaleBar       = v.dShowScaleBar;
     this.pMemMap.dDetailDraw         = v.dDetailDraw;
 }