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


IDimensionGraphic.UpdateShape Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDimensionGraphic Interface > IDimensionGraphic.UpdateShape Method
ArcGIS Developer Help

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(
  OLE_HANDLE hDC,
  ITransformation* transformation,
  IFeature* pFeature
);
[C++]
Parameters
hDC [in]

hDC is a parameter of type OLE_HANDLE 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