ChartDirector 7.1 (.NET Edition)

BaseChart.setResource2


Usage

[C#]public void setResource2(string id, DrawArea img);
[VB]Public Sub setResource2(id As String, img As DrawArea)

Description

Assigns a resource ID to a DrawArea object to allow it to be referenced using a resource path.

This method is the same BaseChart.setResource, except that it assigns the resource ID to a DrawArea object instead of a memory image. This allows the DrawArea object to be reference as an image resource using "@/res_id".

Arguments

ArgumentDefaultDescription
id(Mandatory)The resource ID to be used to reference the DrawArea object.
img(Mandatory)The DrawArea object to be used as a resource.

Return Value

None