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