GetColor Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPAttrInterface

Declaration

bool GetColor(ref int Color);

Description

This function reads the current character color (=ForeColor).

Please note:

The methods to read a property "Get...." all return a boolean value. #

If this value is FALSE, this means the property is not used, the property uses the default value.

 

In .NET applications you can use the utility function ToRGB to convert a Color member into a RGB value. Example:

WPDLLInt1.ToRGB(Color.Red)

 

Also see IWPAttrInterface.SetColor / ForeColor


[idh_iwpattrinterface_getcolor.htm]    Copyright © 2007 by WPCubed GmbH