Images Property

An accessor property that returns an Images collection of the pages of the specified document. Read-only Images.

expression.Images

*expression   * Required. An expression that returns a Document object.

Remarks

The Image object represents a single page in a document, which can contain multiple pages.

Use the Images accessor property of the Document object to return an Images collection. Use the Item property of the Images collection to return an Image object and gain access to its optical character recognition (OCR) Layout (including recognized Text and Words), the properties that describe its dimensions and format (BitsPerPixel, Compression, PixelHeight, PixelWidth, XDPI, and YDPI), and its Picture and Thumbnail images.

Use the Add and Remove methods of the Images collection to manage the list of images.

Example

The following example displays the number of images in the active MODI document.

Sub TestImages()

  MsgBox "The active document has " & _
    miDoc.Images.Count & " pages.", _
    vbInformation + vbOKOnly, "Pages"

End Sub

Applies to | Document Object