IMcUserMeasureComputeValue Method
|
|
User measurement must supply a measurement Value.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxFunction ComputeValue (
MeasurementObject As IMcMeasure,
ParentOperator As Object
) As Object
Parameters
- MeasurementObject
- Type: MediaCy.IQL.FeaturesIMcMeasure
The McMeasure object for which the measurement is to be computed. - ParentOperator
- Type: SystemObject
The Parent operator (usually a McFeatures or McRefFeatures
object) of the MeasurementObject on which the measurement is to be computed.
Return Value
Type:
ObjectThe computed value as a Variant.
RemarksA Value must be returned and its type and shape must agree
with the McMeasure.Attributes (either the defaults or the ones returned
by calls to UserAttributes). An Empty Variant may be returned if
Attributes(mcmaidNofDimensions) is 1 or more and the first (slowest
dimension) is variable [i.e., Attributes(mcmaidShape)(0)=0]. In this
case the McMeasure.Value property is automatically convenverted into
a zero-length array of the proper type. This is especially convenient
from VB or VBA implementations of McUserMeasure because the language makes
it hard to declare a zero-length array.
See Also