Click or drag to resize

IMcIntensityCalibsAdd 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 Add ( 
	Name As String
) As McIntensityCalib

Parameters

Name
Type: SystemString
BSTR : The name given to both the IMcIntensityCalib::Name property. Note that an empty name can be supplied, if the name will be set later.

Return Value

Type: McIntensityCalib
IMcIntensityCalib* the new calibration.
Remarks
An IMcIntensityCalib instance is created with the specified name. 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