ArcObjects Library Reference (Carto)  

IDimensionGraphic.UpdateShape Method

Updates the dimension geometries for the dimension graphic.

[Visual Basic .NET]
Public Sub UpdateShape ( _
    ByVal hDC As Integer, _
    ByVal transformation As ITransformation, _
    ByVal pFeature As IFeature _
)
[C#]
public void UpdateShape (
    int hDC,
    ITransformation transformation,
    IFeature pFeature
);
[C++]
HRESULT UpdateShape(
  long hDC,
  ITransformation* transformation,
  IFeature* pFeature
);
[C++]

Parameters

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

  transformation is a parameter of type ITransformation

pFeature [in]

  pFeature is a parameter of type IFeature

Product Availability

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

Remarks

If the properties of the DimensionGraphic are changed, it is necessary to call the UpdateShape method to recalculate the dimension. The pFeature parameter of the UpdateShape method is only necessary when the current style is using a text expression.

See Also

IDimensionGraphic Interface