You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Standalone > SetBackgroundColor Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.SetBackgroundColor Method

Available in COM edition only ! Defines the background color of the Viewer. Must be a 32 bit ARGB value.

C#
public SetBackgroundColor(
    int ARGBColor
);
Visual Basic
Public Sub SetBackgroundColor(
    ByVal ARGBColor As Integer
)
Parameters
Parameters 
Description 
ARGBColor 
The background color. 

Set background color to RED. 

 

GdViewer1.SetBackgroundColor(GdViewer1.ARGBI(255, 255, 0, 0))
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.