Skip to main content

Images.Insert(String, String, String, Int32) Method

Inserts an image from the target assembly.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public virtual int Insert(
    string assemblyName,
    string name,
    string path,
    int index
)

Parameters

Name Type Description
assemblyName String

A String value that is the name of the source assembly that stores the required image.

name String

A String value that is the image name.

path String

A String value that is the path to the source assembly.

index Int32

An Int32 value that is the position within the Images collection at which the target image should be placed.

Returns

Type Description
Int32

An Int32 value that is the index of the successfully inserted image.

See Also