This document is archived and information here might be outdated. Recommended version. |
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*
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.