Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (24 loc) · 1.51 KB

image-picture-property-access.md

File metadata and controls

44 lines (24 loc) · 1.51 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Image.Picture Property (Access)
vbaac10.chm10366
vbaac10.chm10366
access
Access.Image.Picture
7844c00d-d56d-0473-31d6-7278f9e4d10f
06/08/2017

Image.Picture Property (Access)

You can use the Picture property to specify a bitmap or other type of graphic to be displayed on the specified control. Read/write String.

Syntax

expression. Picture

expression A variable that represents an Image object.

Remarks

The Picture property contains (bitmap) or the path and file name of a bitmap or other type of graphic to be displayed.

The default setting is (none). After the graphic is loaded into the object, the property setting is (bitmap) or the path and file name of the graphic. If you delete (bitmap) or the path and file name of the graphic from the property setting, the picture is deleted from the object and the property setting is again (none).

If the PictureType property is set to Embedded, the graphic is stored with the object.

You can create custom bitmaps by using Microsoft Paintbrush or another application that creates bitmap files. A bitmap file must have a .bmp, .ico, or .dib extension. You can also use graphics files in the .wmf or .emf formats, or any other graphic file type for which you have a graphics filter. Forms, reports, and image controls support all graphics. Command buttons and toggle buttons only support bitmaps.

See also

Concepts

Image Object