SilverScreen Solid Modeler

FromCOLORREF method

FromCOLORREF method

Previous topic Next topic  

FromCOLORREF method

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

static SS_RGB FromCOLORREF(uint w32cr);

 

uint w32cr;   // A Win32-compatible COLORREF value

 

 

 




Synopsis

using SilverSharp;

 

The FromCOLORREF method creates a SilverSharp.SS_RGB object from a Win32-compatible COLORREF value.

 

 

Parameters

w32cr is a Win32-compatible COLORREF value that will initialize the SilverSharp.SS_RGB object

 

 

Return Value

FromCOLORREF returns a SilverSharp.SS_RGB object

 

 

Remarks

This function is most useful when calling Win32 API functions via pinvoke

 

 

See Also

SS_RGB, ToCOLORREF