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

Glossary Item Box

Description

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

Property type

Read-write property

Syntax

Visual Basic
Public Property VBPicture As Picture

Remarks

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

Example

(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
ImageControl1.Refresh

See Also

© 2014 Data Techniques Inc. All Rights Reserved.