Skip to main content
All docs
V19.1

SvgImageCollection.Add(String, String, Type) Method

Adds an image from project resources to this SvgImageCollection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public void Add(
    string key,
    string resourceName,
    Type resourceType
)

Parameters

Name Type Description
key String

A String value that specifies the image name.

resourceName String

A String value that specifies the property name in a static project resource class.

resourceType Type

A Type that matches the project resource’s class type.

Remarks

The code below copies a project resource “Copy” image to the collection.


svgImageCollection1.Add("Icon", "Icon", typeof(DXDebug17._2.Properties.Resources));
See Also