Sample Code
The following sample code shows how to load and display an image file in a Cairo Viewer object.
Private Sub btnLoadImage_Click()
Dim Img As SCBCroImage
Set Img = New SCBCroImage
Img.LoadFile "C:\images\sample.tif"
' View the imagefile sample.tif
Set SCBCroViewer1.Item = Img
End Sub