This documentation is archived and is not being maintained.

Report.PicturePages Property (Access)

You can use the PicturePages property to specify on which page or pages of a report a picture will be displayed. Read/write Byte.

expression .PicturePages

expression A variable that represents a Report object.

The PicturePages property uses the following settings.

Setting

Visual Basic

Description

All Pages

0

(Default) The picture appears on all pages of the report.

First Page

1

The picture appears only on the first page of the report.

No Pages

2

The picture doesn't appear on the report.

The following example prints a stretched version of the picture "Logo.gif" on only the first page of the "Purchase Order" report.

With Reports("Purchase Order") 
 .Picture = "C:\Picture Files\Logo.gif" 
 .PictureSizeMode = 1 
 .PicturePages = 1 
End With
Show: