ArcObjects Library Reference  (Schematic)    

INgProjectViews.SetTileArea Method

Defines the area enclosed between the 'upperLeftCorner' and 'lowerRightCorner' points that will be used to position the schematic windows.

[Visual Basic 6.0]
Sub SetTileArea(
    ByVal upperLeftCorner As INgPoint, _
    ByVal lowerRightCorner As INgPoint _
) As Empty
[Visual Basic .NET]
Public Sub SetTileArea ( _
    ByVal upperLeftCorner As INgPoint, _
    ByVal lowerRightCorner As INgPoint _
)
[C#]
public void SetTileArea (
    INgPoint upperLeftCorner,
    INgPoint lowerRightCorner
);
[Java]
public void setTileArea (
    INgPoint upperLeftCorner,
    INgPoint lowerRightCorner
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SetTileArea(
  INgPoint* upperLeftCorner,
  INgPoint* lowerRightCorner
);
[C++]

Parameters

upperLeftCorner [in]

  upperLeftCorner is a parameter of type INgPoint

lowerRightCorner [in]

  lowerRightCorner is a parameter of type INgPoint

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.
[Visual Basic 6.0]

Suppose your screen size is 1280x1024 and that you only want to use an area corresponding to the half right part of your screen to position your Schematics view windows. In this case, you have to call the SetTileArea method as follows:

Private m_ngProjectViews As esriSchematic.INgProjectViews
...
Dim upperLeftCorner As INgPoint
Dim lowerRightCorner As INgPoint
...
Set upperLeftCorner = New NgPoint
Set lowerRightCorner = New NgPoint
upperLeftCorner.X = 640
upperLeftCorner.Y = 1024
lowerRightCorner.X = 1280
lowerRightCorner.Y = 0
m_ngProjectViews.SetTileArea upperLeftCorner, lowerRightCorner
...

See Also

INgProjectViews Interface | INgProjectViews.GetTileArea Method | INgProjectViews.TileViews Method | INgProjectViews.UnsetTileArea Method

 


Feedback Send feedback on this page