Vector.Picture property

Retrieves a Microsoft Visual Basic picture object.

This property is read-only.


Property Picture( _
  [ ByVal Width As LONG ], _
  [ ByVal Height As LONG ] _

Property value


Because vectors can contain an ImageFile, this property provides an easy way to access the image as a Visual Basic picture object. Like the ImageFile (Vector) property, the Picture property supports three different types of image vectors. For more information about the three types of image vectors, see the ImageFile (Vector) property.

For example code, see Create an ImageFile Object that Contains a Blank Page in Shared Samples.

Although the previous example uses the ImageFile (Vector) property instead of the Picture property to access the image contained in the Vector, it does demonstrate creating a new image Vector.

For more information about raw ARGB Bitmap Data, see the Remarks section of the ImageFile object's ARGBData property. Since raw ARGB Bitmap Data does not contain any information about the height or width, you need to provide these values so that the Windows Image Acquisition (WIA) Automation Library can successfully create the Picture object.

For additional example code, see Download New Items as They are Created in Shared Samples.


Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]

See also