LVectorBase::SetBackgroundColor

#include "ltwrappr.h"

virtual L_INT LVectorBase::SetBackgroundColor(color=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

If LVectorBase::Paint is called, with bEraseBkgnd set to TRUE, this color will be used to erase the background.

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:

LVectorBase::GetBackgroundColor, LVectorBase::Paint, LVectorBase::AttachToWindow

Topics:

Viewing a Vector Images

 

Vector Images: Viewing a Vector Image

Example

For an example, refer to LVectorBase::GetBackgroundColor.