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

Sets the color of a region, when it is selected, from his ID.

C#
public Boolean SetRegionColorSelection(
    int RegionID, 
    Color BgColorSelected
);
Visual Basic
Public Function SetRegionColorSelection(
    ByVal RegionID As Integer, 
    ByVal BgColorSelected As Color
) As Boolean
Parameters
Parameters 
Description 
RegionID 
The ID of the region. 
BgColorSelected 
The color of the region when it is selected. 
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.