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


IHatchTemplate.DrawGeometry Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Location)  

IHatchTemplate.DrawGeometry Method

Draws hatches along a given geometry.

[Visual Basic .NET]
Public Sub DrawGeometry ( _
    ByVal Geometry As IGeometry, _
    ByVal interval As Double, _
    ByVal FromMeasure As Object, _
    ByVal ToMeasure As Object, _
    ByVal LateralOffset As Object, _
    ByVal measureUnits As esriUnits, _
    ByVal display As IDisplay, _
    ByVal trackCancel As ITrackCancel _
)
[C#]
public void DrawGeometry (
    IGeometry Geometry,
    double interval,
    object FromMeasure,
    object ToMeasure,
    object LateralOffset,
    esriUnits measureUnits,
    IDisplay display,
    ITrackCancel trackCancel
);
[C++]
HRESULT DrawGeometry(
  IGeometry* Geometry,
  double interval,
  VARIANT FromMeasure,
  VARIANT ToMeasure,
  VARIANT LateralOffset,
  esriUnits measureUnits,
  IDisplay* display,
  ITrackCancel* trackCancel
);
[C++]

Parameters Geometry [in]
Geometry is a parameter of type IGeometry interval [in] interval is a parameter of type double FromMeasure [in] FromMeasure is a parameter of type VARIANT ToMeasure [in] ToMeasure is a parameter of type VARIANT LateralOffset [in] LateralOffset is a parameter of type VARIANT measureUnits [in]
measureUnits is a parameter of type esriUnits display [in]
display is a parameter of type IDisplay trackCancel [in]
trackCancel is a parameter of type ITrackCancel

Product Availability

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

See Also

IHatchTemplate Interface