Picture Property
Allows in-memory access to the specified image through the IPictureDisp interface. Read-only IPictureDisp.
expression.Picture
*expression * Required. An expression that returns an Image object.
Remarks
For additional information on the IPictureDisp automation interface, please see the "COM" section of the Microsoft® Windows® Platform SDK.
Example
The following example opens a new document and displays the image and the smallest possible thumbnail for the first page in two separate Visual Basic® PictureBox controls.
Sub TestImageProperties()
Dim miDoc As MODI.Document
Dim miImage As MODI.Image
Set miDoc = New MODI.Document
miDoc.Create "C:\document1.tif"
Set miImage = miDoc.Images(0)
Set picPicture.Picture = miImage.Picture
Set picThumbnail.Picture = miImage.Thumbnail(miTHUMB_SIZE_TINY)
Set miImage = Nothing
Set miDoc = Nothing
End Sub
Applies to | Image Object