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

Returns a region ID.

C#
public int GetRegionID(
    int RegionNo
);
Visual Basic
Public Function GetRegionID(
    ByVal RegionNo As Integer
) As Integer
Parameters
Parameters 
Description 
RegionNo 
A region number. This number must be between 1 and the total number of regions which can be get using the RegionCount function.  
Returns

A region ID. 0 if the RegionNo parameter is invalid, else the ID of the selected region.

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