Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change CNiImage background picture to the default black one?

Hi,
 
I need to set the CNiGraph PlotArea background to load a picture.
  m_Graph.Images(3).Url = FieldData;     
  m_Graph.Images(3).Reload();
 
But later, I want to set the background to the default black one.
How can I do this?
 
 
Bird.
0 Kudos
Message 1 of 2
(3,139 Views)
Bird,

The only way that I can find to change it back to black is to set the Url to an image file of a black background.  I tried a few other things, including saving the Image in another reference, assigning the image from another graph, and setting the Url to various strings.  It appears that the easiest way is to have an image with a black background.

Sorry for the inconvenience.

Tyler T
0 Kudos
Message 2 of 2
(3,134 Views)