ChartDirector 7.1 (.NET Edition)

DrawArea.clone


Usage

[C#]public void clone(DrawArea d, int x, int y, int align [, int newWidth [, int newHeight [, int filter [, double blur ]]]]);
[VB]Public Sub clone(d As DrawArea, x As Integer, y As Integer, align As Integer [, newWidth As Integer [, newHeight As Integer [, filter As Integer [, blur As Double ]]]])

Description

Copy the current DrawArea object to another DrawArea object, with optional resizing.

Arguments

ArgumentDefaultDescription
d(Mandatory)The destination DrawArea object where the current DrawArea is copied to.
x(Mandatory)The x coordinate of a reference point in the destination DrawArea object.
y(Mandatory)The y coordinate of a reference point in the destination DrawArea object.
align(Mandatory)The alignment of the current DrawArea relative to the reference point. See Alignment Specification for supported alignment types.
newWidth-1The new width to which the current DrawArea will be resized to before copying. -1 means no resizing.
newHeight-1The new height to which the current DrawArea will be resized to before copying. -1 means no resizing.
filterLinearFilterThe filter to use for re-sampling. (Only applies if there is resizing.)
blur1The blur factor to use for re-sampling. (Only applies if there is resizing.)

Return Value

None