IMcLookupTables2Duplicate Method
|
|
Create a duplicate McLookupTables instance.
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
RemarksA duplicate of this McLookupTables instance is created as an unnamed
operator with the same parent as this one. The duplicated McLookupTables
instance will always have the IsImageLookupTables property False.
The parent operator of any McLookupTables instance can be determined with the
ParentOfOperator method. The ancestor McImage of any McLookupTables instance
can be determined with the AncestorOfOperator method.
ExamplesSub DuplicateLookupTables()
Dim dupLUTs As McLookupTables
Set dupLUTs = ThisApplication.ActiveImage.LookupTables.Duplicate
Debug.Print "Is LUTs? " & ThisApplication.ActiveImage.LookupTables.IsImageLookupTables _
& ". Dup is LUTs? " & dupLUTs.IsImageLookupTables
Debug.Print "Dup LUTs count: " & dupLUTs.Count & " WhiteLevel: " & dupLUTs.Item(0).WhiteLevel
End Sub
See AlsoReference
ParentOfOperator
AncestorOfOperator