Multiplies all the M values by a factor.
[Visual Basic .NET] Public Sub MultiplyMs ( _ ByVal factor As Double _ )
[C++] HRESULT MultiplyMs( double factor );
Parametersfactor factor is a parameter of type double
The MultiplyMs method will update all the measure attributes for a PolyLine, and should only be used if every measure has been set (i.e. there are no NaNs). Check the IMAware::MSimple property or use the IMSegmentation methods to fill in any missing measure values. MultiplyMs is analogous to scaling spatial coordinates.
public IPolyline MultiplyMs(IPolyline polyline, double factor)
//Offset (add) the M values on a PolyLine by a factor
IMAware mAware = polyline as IMAware;
IMCollection mCollection = mAware as IMCollection;
return mCollection as IPolyline;