ChartDirector 7.1 (C++ Edition)

Chart.xySize


Usage

static int xySize(int width, int height);

Description

Encode width and height into a single number to be used as size. This is intended to be used in certain ChartDirector API that that supports the encoded value.

Arguments

ArgumentDefaultDescription
width(Mandatory)An integer between 0 and 30000.
height(Mandatory)An integer between 0 and 30000.

Return Value

A number that encodes the width and height.