www.gnostice.com 

BackgroundColor

Top  Previous  Next

The BackgroundColor property is used to specify background color for the document.

 

 

 

 

Syntax

 

 

[VC++]

unsigned long GetBackgroundColor();

void SetBackgroundColor(unsigned long newValue);

 

[C#]

public abstract new uint BackgroundColor [  get,  set ]

 

[VB]

Property BackgroundColor As OLE_COLOR

 

 

 

 

 

 

Example Code

 

 

[VC++]

m_Engine.SetBackgroundColor(RGB(175, 175, 175));

 

 

 

[VB]

gtEngineX1.BackgroundColor = RGB(175, 175, 175)

 

[C#]

 

axgtEngineX1.BackgroundColor = System.Drawing.Color.Red;