Returns a Color object representing the required color, that is specified by a 32-bit ARGB value.
public function ARGB(
: Integer
): Color;
public function ARGB(
: int
) : Color;
public: Color ARGB(
int
)
public:
Color ARGB(
int
)
'Declaration
Public Overloads Function ARGB( _
ByVal As Integer _
) As Color
Parameters
- iargb
- A 32-bit ARGB value specified the required color.
Return Value
A Color object representing a required color.
How to get the red color object.
'We assume that the GdViewer1 control has been properly integrated.
Dim colorRed As Color = GdViewer1.ARGB(GdViewer1.ARGBI(255, 255, 0, 0))
//We assume that the GdViewer1 control has been properly integrated.
Color colorRed = GdViewer1.ARGB(GdViewer1.ARGBI(255, 255, 0, 0));
'We assume that the GdViewer1 control has been properly integrated.
Dim colorRed As Color = GdViewer1.ARGB(Color.Red.ToArgb())
//We assume that the GdViewer1 control has been properly integrated.
Color colorRed = GdViewer1.ARGB(Color.Red.ToArgb());