'Declaration
Public Function SetRegionSelected( _ ByVal RegionID As Integer, _ ByVal Selected As Boolean _ ) As GdPictureStatus
public GdPictureStatus SetRegionSelected( int RegionID, bool Selected )
public function SetRegionSelected( RegionID: Integer; Selected: Boolean ): GdPictureStatus;
public function SetRegionSelected( RegionID : int, Selected : boolean ) : GdPictureStatus;
public: GdPictureStatus SetRegionSelected( int RegionID, bool Selected )
public: GdPictureStatus SetRegionSelected( int RegionID, bool Selected )
Parameters
- RegionID
- A unique region identifier of the specified region. You can obtain this identifier using the GetRegionID method or when creating regions using AddRegion(String,Int32,Int32,Int32,Int32,ForegroundMixMode,Int32) or AddRegionInches(String,Single,Single,Single,Single,ForegroundMixMode,Int32) methods.
- Selected
- Set this parameter to true, if you want to select the specified region, otherwise set it to false to deselect it.
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.