Table of contents
Collapse the table of content
Expand the table of content

Attachment.PictureSizeMode Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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


expression. PictureSizeMode

expression A variable that represents an Attachment object.


The PictureSizeMode property uses the following settings.

SettingVisual BasicDescription
Clip0(Default) The picture is displayed in its actual size. If the picture is larger than the attachment control, then the picture is clipped.
Stretch1The picture is stretched horizontally and vertically to fill the entire attachment control, even if its original ratio of height to width is distorted.
Zoom3The 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.

See also


Attachment Object

© 2018 Microsoft