LoadImage Method

The LoadImage method is used to load an image file for use as a fill pattern in graph bars.

Syntax

object.LoadImage(BSTR imageFile)

Parameter Type Description
imageFile String required, name of image

 

Remarks

This method only has an effect if the BarStyle property is set to grfImage.

Example

This example shows how to load a color map for an ellipse.

BarChart.LoadImage(GrapherApp.Path + "UserImages.bmp")

 

Used by: AutoBarChart object, AutoHistogram object, AutoFloatingBar object