This document is archived and information here might be outdated.  Recommended version.


IOutputContext.Init Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IOutputContext.Init Method

Initializes the output context.

[Visual Basic .NET]
Public Sub Init ( _
    ByVal refScale As Double, _
    ByVal currentScale As Double, _
    ByVal Resolution As Double, _
    ByVal Rotation As Double, _
    ByVal currentScreenCenter As IPoint, _
    ByRef deviceRect As tagRECT, _
    ByVal outputDevice As Integer _
)
[C#]
public void Init (
    double refScale,
    double currentScale,
    double Resolution,
    double Rotation,
    IPoint currentScreenCenter,
    ref tagRECT deviceRect,
    ref int outputDevice
);
[C++]
HRESULT Init(
  double refScale,
  double currentScale,
  double Resolution,
  double Rotation,
  IPoint* currentScreenCenter,
  tagRECT* deviceRect,
  long outputDevice
);
[C++]

Parameters refScale [in] refScale is a parameter of type double currentScale [in] currentScale is a parameter of type double Resolution [in] Resolution is a parameter of type double Rotation [in] Rotation is a parameter of type double currentScreenCenter [in]
currentScreenCenter is a parameter of type IPoint deviceRect [in]
deviceRect is a parameter of type tagRECT outputDevice [in] outputDevice is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

CurrentScreenCenter must be in Map reference frame.

See Also

IOutputContext Interface