ArcObjects Library Reference (Carto)  

IDataGraphBase.DrawToDC Method

Draws the data graph into the provided device context.

[Visual Basic .NET]
Public Sub DrawToDC ( _
    ByVal hDC As Integer, _
    ByRef pOutputRect As tagRECT, _
    ByRef pGraphRect As tagRECT _
)
[C#]
public void DrawToDC (
    int hDC,
    ref tagRECT pOutputRect,
    ref tagRECT pGraphRect
);
[C++]
HRESULT DrawToDC(
  long hDC,
  tagRECT* pOutputRect,
  tagRECT* pGraphRect
);
[C++]

Parameters

hDC [in]   hDC is a parameter of type long pOutputRect [in]

  pOutputRect is a parameter of type tagRECT

pGraphRect [in]

  pGraphRect is a parameter of type tagRECT

Product Availability

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

Remarks

There are three parameters. They are hdc, pOutputRect, and pGraphRect. hdc means handle device context, it is used for graph drawing. pOutputRect coordinates the rectangle in device context for graph drawing. pGraphRect is the rectangle that represents the size of the graph drawn in device context. The dimension of output rectangle is usually the same as graph rectangle.

See Also

IDataGraphBase Interface