'Declaration
Public Overloads Function SetRegionBorderColor( _ ByVal RegionID As Integer, _ ByVal BorderColor As Integer _ ) As GdPictureStatus
public GdPictureStatus SetRegionBorderColor( int RegionID, int BorderColor )
public function SetRegionBorderColor( RegionID: Integer; BorderColor: Integer ): GdPictureStatus;
public function SetRegionBorderColor( RegionID : int, BorderColor : int ) : GdPictureStatus;
public: GdPictureStatus SetRegionBorderColor( int RegionID, int BorderColor )
public: GdPictureStatus SetRegionBorderColor( int RegionID, int BorderColor )
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.
- BorderColor
- A color value that defines the new border color of the specified region. You can obtain a suitable color using the ARGBI method.
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.