Click or drag to resize

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
VB
Function Duplicate As McLookupTables

Return Value

Type: McLookupTables
Remarks
A 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.
Examples
VB
Sub 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 'DuplicateLookupTables
See Also