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


IOutputContext.Init Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IO > IOutputContext Interface > IOutputContext.Init Method
ArcGIS Developer Help

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,
  OLE_HANDLE 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 OLE_HANDLE

Product Availability

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

Remarks

CurrentScreenCenter must be in Map reference frame.

See Also

IOutputContext Interface