LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorWindow > LVectorWindow Class Members > LVectorWindow::SetBackgroundColor |
#include "ltwrappr.h"
L_INT LVectorWindow::SetBackgroundColor(color=RGB(0,0,0))
L_COLOR color; |
/* the background color */ |
Sets the current background color.
Parameter |
Description |
color |
The background color to set. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Sets the background color for the LVectorWindow object. If a vector image is loaded, this also sets and updates the background color for the vector image. Loading another vector image can change the background color setting for the LVectorWindow object.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
Example
For an example, refer to LVectorWindow::Free.