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

Sets the color of a region from his ID.

C#
public Boolean SetRegionColor(
    int RegionID, 
    Color BgColor
);
Visual Basic
Public Function SetRegionColor(
    ByVal RegionID As Integer, 
    ByVal BgColor As Color
) As Boolean
Parameters
Parameters 
Description 
RegionID 
The ID of the region. 
BgColor 
The color of the region. 
Returns

True if success, else False (Unknown Region).

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