次の方法で共有


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.

Syntax

expression .PicturePages

expression A variable that represents a Report object.

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.

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

See Also

Concepts

Report Object

Report Object Members