ColorFormat.RGB Property
Returns or sets the red-green-blue (RGB) value of the specified color.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim colorFormat1 As ColorFormat
Dim returnValue As Integer
returnValue = colorFormat1.RGB
Dim sampleValue As Integer
colorFormat1.RGB = sampleValue
Syntax
Property RGB() As Integer
int RGB {get; set;}
property Int32 RGB{
Int32 get();
Void set(Int32);
}
public int get_RGB();
public void set_RGB(int);
function get RGB() : int;
function set RGB(int);
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
ColorFormat Interface
Microsoft.Office.Interop.Word Namespace