Share via


CodeProject.AddSharedImage Method (Access)

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

Version Information

추가된 버전: Access 2010

Syntax

.AddSharedImage(SharedImageName, FileName)

A variable that represents a CodeProject object.

Parameters

Name

Required/Optional

Data Type

Description

SharedImageName

필수

String

Specifies the string used to identify the image in the collection.

FileName

필수

String

Specifies 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.

참고 항목

개념

CodeProject Object

CodeProject Object Members