'Declaration
Public Function SetRegionName( _ ByVal RegionID As Integer, _ ByVal Name As String _ ) As GdPictureStatus
public GdPictureStatus SetRegionName( int RegionID, string Name )
public function SetRegionName( RegionID: Integer; Name: String ): GdPictureStatus;
public function SetRegionName( RegionID : int, Name : String ) : GdPictureStatus;
public: GdPictureStatus SetRegionName( int RegionID, string* Name )
public: GdPictureStatus SetRegionName( int RegionID, String^ Name )
Parameters
- RegionID
- A unique region identifier of the specified region. You can obtain this identifier using the GetRegionID method or when creating regions using the AddRegion(String,Double,Double,Double,Double,Color,RegionFillMode) method.
- Name
- The new name of the specified region.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.