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


IHatchTemplate.ConvertToGraphics Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IH > IHatchTemplate Interface > IHatchTemplate.ConvertToGraphics Method
ArcGIS Developer Help

IHatchTemplate.ConvertToGraphics Method

Converts hatches to graphics.

[Visual Basic .NET]
Public Sub ConvertToGraphics ( _
    ByVal feature As IFeature, _
    ByVal interval As IHatchInputValue, _
    ByVal FromMeasure As IHatchInputValue, _
    ByVal ToMeasure As IHatchInputValue, _
    ByVal LateralOffset As IHatchInputValue, _
    ByVal measureUnits As esriUnits, _
    ByVal display As IDisplay, _
    ByVal pGraphicsLayer As IGraphicsLayer _
)
[C#]
public void ConvertToGraphics (
    IFeature feature,
    IHatchInputValue interval,
    IHatchInputValue FromMeasure,
    IHatchInputValue ToMeasure,
    IHatchInputValue LateralOffset,
    esriUnits measureUnits,
    IDisplay display,
    IGraphicsLayer pGraphicsLayer
);
[C++]
HRESULT ConvertToGraphics(
  IFeature* feature,
  IHatchInputValue* interval,
  IHatchInputValue* FromMeasure,
  IHatchInputValue* ToMeasure,
  IHatchInputValue* LateralOffset,
  esriUnits measureUnits,
  IDisplay* display,
  IGraphicsLayer* pGraphicsLayer
);
[C++]
Parameters
feature [in]

feature is a parameter of type IFeature* interval [in]
interval is a parameter of type IHatchInputValue* FromMeasure [in]
FromMeasure is a parameter of type IHatchInputValue* ToMeasure [in]
ToMeasure is a parameter of type IHatchInputValue* LateralOffset [in]
LateralOffset is a parameter of type IHatchInputValue* measureUnits [in]
measureUnits is a parameter of type esriUnits display [in]
display is a parameter of type IDisplay* pGraphicsLayer [in]
pGraphicsLayer is a parameter of type IGraphicsLayer*

Product Availability

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

See Also

IHatchTemplate Interface