다음을 통해 공유


Attachment.PictureSizeMode Property (Access)

You can use the PictureSizeMode property to specify how a picture for an attachment control is sized. Read/write Byte.

Version Information

추가된 버전: Access 2007

Syntax

.PictureSizeMode

A variable that represents an Attachment object.

Remarks

The PictureSizeMode property uses the following settings.

Setting

Visual Basic

Description

Clip

0

(Default) The picture is displayed in its actual size. If the picture is larger than the attachment control, then the picture is clipped.

Stretch

1

The picture is stretched horizontally and vertically to fill the entire attachment control, even if its original ratio of height to width is distorted.

Zoom

3

The picture is enlarged to the maximum extent possible while keeping its original ratio of height to width.

When a small picture is used for the DefaultPicture property of an attachment control, setting the PictureSizeMode property to Stretch or Zoom can cause substantial distortion of its resolution. Smaller pictures can be tiled across the entire attachment control by using the PictureTiling property.

참고 항목

개념

Attachment Object

Attachment Object Members