PicturePages Property
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 Required. An expression that returns one of the objects in the Applies To list.
Remarks
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. |
You can set the PicturePages property by using a report's property sheet, a macro, or Visual Basic.
Example
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