Click or drag to resize

IMcIntensityCalibsAddEx Method

Creates a new IMcIntensityCalib instance and adds it to the IMcIntensityCalibs collection.

Namespace:  MediaCy.IQL.Calibrations
Assembly:  MediaCy.IQL.Calibrations (in MediaCy.IQL.Calibrations.dll) Version: 10.0.6912.0
Syntax
VB
Function AddEx ( 
	Name As String,
	Flags As mccfCalibFlags
) As McIntensityCalib

Parameters

Name
Type: SystemString
The name given to the IMcIntensityCalib::Name property. Note that an empty name can be supplied, if the name will be set later.
Flags
Type: MediaCy.IQL.CalibrationsmccfCalibFlags
The calibration flags applied to the new calibration.

Return Value

Type: McIntensityCalib
IMcIntensityCalib* the new calibration.
Remarks
An IMcIntensityCalib instance is created with the specified name and flags. Other properties are initialized to default values. The new calibration is also added to the IntensityCalibs collection. "For each" enumerations will only find IMcIntensityCalib instances which are part of the collection, and there is no need to keep an AddRef on the interface instance. IMcIntensityCalibs::Item will return only collection members for numeric (index value) arguments, but it will find any calibration with a matching Name for string arguments, whether the calibration is part of the calibrations collection or not.
Note Note
The new calibration is also added to the IntensityCalibs collection.
See Also