Click or drag to resize

IMcDyeRemoveTint Method

Remove the dye tint, and optionally, properties.

Namespace:  MediaCy.IQL.Microscopy.Info
Assembly:  MediaCy.IQL.Microscopy.Info (in MediaCy.IQL.Microscopy.Info.dll) Version: 10.0.6912.0
Syntax
VB
Sub RemoveTint ( 
	ImageOrFrame As Object,
	Optional RemoveProperties As Boolean = true
)

Parameters

ImageOrFrame
Type: SystemObject
RemoveProperties (Optional)
Type: SystemBoolean
Remarks
Removes the dye tint, and optionally the dye properties, from the image(s) or frame(s) specified. If it is specified to remove the tint from image(s), it will also be removed from all of the frames.
Examples
VB
' load the dyes collection
Dyes.Path = "C:\IPWin51\Documents and Settings"
' if there's an active image, apply the Alexa 568 dye tint and properties
If Not ThisApplication.ActiveImage Is Nothing Then
Dyes("Alexa 568").ApplyTint ActiveImage, True
End If
See Also