Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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 Added: Access 2007

expression .PictureSizeMode

expression A variable that represents an Attachment object.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.