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

CurrentProject.AddSharedImage Method (Access)

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

Imports the the specified image into the database and adds it to the SharedResources collection.

Syntax

expression. AddSharedImage( ** SharedImageName, ** FileName )

expression A variable that represents a CurrentProject object.

Parameters

NameRequired/OptionalData TypeDescription
SharedImageNameRequiredStringSpecifies the string used to identify the image in the collection.
FileNameRequiredStringSpecifies the full name and path to the image file.

Remarks

Use the AddSharedImage method when you have an image that you want to use repeatedly, such as a companny logo. The AddSharedImage method makes the image available in the Insert Image dropdown of the Controls group in the Design tab.

See also

Concepts

CurrentProject Object

© 2018 Microsoft