ArcObjects Library Reference (Location)  

IHatchTemplate.DrawPreview Method

Draws a sample of hatching to a given display.

[Visual Basic .NET]
Public Sub DrawPreview ( _
    ByVal Geometry As IGeometry, _
    ByVal scaleFactor As Double, _
    ByVal selectedDef As Integer, _
    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 DrawPreview (
    IGeometry Geometry,
    double scaleFactor,
    int selectedDef,
    object FromMeasure,
    object ToMeasure,
    object LateralOffset,
    esriUnits measureUnits,
    IDisplay display,
    ITrackCancel trackCancel
);
[C++]
HRESULT DrawPreview(
  IGeometry* Geometry,
  double scaleFactor,
  Long selectedDef,
  VARIANT FromMeasure,
  VARIANT ToMeasure,
  VARIANT LateralOffset,
  esriUnits measureUnits,
  IDisplay* display,
  ITrackCancel* trackCancel
);
[C++]

Parameters

Geometry [in]

  Geometry is a parameter of type IGeometry

scaleFactor [in]   scaleFactor is a parameter of type double selectedDef [in]   selectedDef is a parameter of type Long 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