ChartDirector 7.0 (ASP/COM/VB Edition)

BaseChart.patternColor2


Usage

patternColor2(filename [, startX, startY ])

Description

Creates a pattern color by using the image from the specified file or resource as the pattern.

A pattern color is a dynamic color that changes according to a 2D periodic pattern. When it is used to fill an area, the area will look like being tiled with a wallpaper pattern.

Arguments

ArgumentDefaultDescription
filename(Mandatory)The pathname of the image file or resource, which must be of PNG, JPG or GIF format. Please refer to Path Specification on how ChartDirector interprets pathnames.
startX0The x coordinate of a reference point to align with the top-left corner the pattern.
startY0The y coordinate of a reference point to align with the top-left corner the pattern.

Return Value

A 32-bit integer representing the pattern color.