Click or drag to resize

IMcViewNDSourceImage Property

Sets source image to display.

Namespace:  MediaCy.IQL.Display.ViewerND
Assembly:  MediaCy.IQL.Display.ViewerND (in MediaCy.IQL.Display.ViewerND.dll) Version: 10.0.6912.0
Syntax
VB
Property SourceImage As Object
	Get
	Set

Property Value

Type: Object
Remarks
The parameter can be McImage, McFrames or image set. The property returns source image as McImage.
Examples
VB
'load active image to ND viewer
McViewND1.SourceImage=ActiveImage
With McViewND1
'set auto subsampling to maximumm volume dimension 128
.SubSampling = -128
'load active image
.SourceImage = ActiveImage
Debug.Print McToText(.SubSampling)
Dim im As McImage
Set im = .SourceImage
'print name of the image
Debug.Print im.Name
End With
See Also