Click or drag to resize

IMcDyeApplyTint Method

Apply 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 ApplyTint ( 
	ImageOrFrame As Object,
	Optional ApplyProperties As Boolean = true
)

Parameters

ImageOrFrame
Type: SystemObject
ApplyProperties (Optional)
Type: SystemBoolean
Remarks
Applies the dye tint, and optionally the dye properties, to the image(s) or frame(s) specified. The tint and dye properties are persisted with the image when the image is saved in the TIFF file format, and are typically used for proper display and management of channels. It is important to note that where possible (in most circumstances), the tint and properties should be attached to the IMAGE, not to 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