Click or drag to resize

McMeasurementsAddDerivedMeasurement Method

Add derived manual measurement based on the current selection. For example Angle Between lines can be created when 2 Line features are selected

Namespace:  MediaCy.Addins.Measurements
Assembly:  MediaCy.Addins.Measurements (in MediaCy.Addins.Measurements.dll) Version: 3.1.0.0
Syntax
VB
Public Function AddDerivedMeasurement ( 
	MeasType As McMeasurementsenumMMDTypes,
	Optional sParents As String = ""
) As List(Of McMMFeature)

Parameters

MeasType
Type: MediaCy.Addins.MeasurementsMcMeasurementsenumMMDTypes
MeasType - measurement type of derived measurement.
sParents (Optional)
Type: SystemString

Return Value

Type: ListMcMMFeature
Pointer to new McMMFeature, Nothing if fails

Implements

IMcMeasurementsAddDerivedMeasurement(McMeasurementsenumMMDTypes, String)
Examples
VB
 'select 2 lines and create angle measurement between them
ThisApplication.ActiveImage.MeasurementsData.Selection mcmmsfAddWithReset, New String(){"L1", "L2"}
ThisApplication.ActiveImage.MeasurementsData.AddDerivedMeasurement mmtAngleBetweenLines
See Also