LVectorBase::InvertColors

#include "ltwrappr.h"

virtual L_INT LVectorBase::InvertColors()

Inverts the colors in the vector object.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

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::GetDisplayOptions, LVectorBase::SetDisplayOptions

Topics:

Vector Images: Viewing a Vector Image

 

Viewing Vector Images

Example

void CVectorView::OnPreferencesInvertcolors() 
{
   CVectorDoc      *pDoc; 
   
   pDoc = GetDocument( ); 
   pDoc->m_pVectorWindow->InvertColors( ); 

   InvalidateRect( NULL ); 
}