ImageMan ActiveX Control Version 8
VBPicture Property
See Also  Example  Send comments on this topic.

Glossary Item Box


Sets or Returns the handle to an image in a format compatible with the Visual Basic PictureBox 'Picture' property.

Property type

Read-write property


Visual Basic
Public Property VBPicture As Picture


This property allows images to be moved between the ImageMan image control and the Visual Basic PictureBox and image controls.


(Visual Basic)Copy Code
' Load an image into an ImageMan Control and then copy it to a PictureBox
ImageControl1.Picture = "sample.tif"
Picture1.Picture = ImageControl1.VBPicture

' Copy an image from a Picture Control to the ImageMan image Control
Picture1.Picture = LoadPicture("sample.bmp")

ImageControl1.VBPicture = Picture1.Picture

See Also

© 2014 Data Techniques Inc. All Rights Reserved.