'Declaration
Public Overloads Function AddRedactionRegion( _ ByVal Left As Single, _ ByVal Top As Single, _ ByVal Width As Single, _ ByVal Height As Single, _ ByVal Red As Byte, _ ByVal Green As Byte, _ ByVal Blue As Byte _ ) As GdPictureStatus
public GdPictureStatus AddRedactionRegion( float Left, float Top, float Width, float Height, byte Red, byte Green, byte Blue )
public function AddRedactionRegion( Left: Single; Top: Single; Width: Single; Height: Single; Red: Byte; Green: Byte; Blue: Byte ): GdPictureStatus;
public function AddRedactionRegion( Left : float, Top : float, Width : float, Height : float, Red : byte, Green : byte, Blue : byte ) : GdPictureStatus;
Parameters
- Left
- The horizontal (X) coordinate of the closest point to the currently defined origin, where the redaction bounding box is to be located. The value is expressed in the current units specified by the SetMeasurementUnit method .
- Top
- The vertical (Y) coordinate of the closest point to the currently defined origin, where the redaction bounding box is to be located. The value is expressed in the current units specified by the SetMeasurementUnit method and it is related to the current page.
- Width
- The width of the redaction bounding box, expressed in the current units specified by the SetMeasurementUnit method.
- Height
- The height of the redaction bounding box, expressed in the current units specified by the SetMeasurementUnit method.
- Red
- The amount of red color to be used for the resulting region color. Use the value between 0 and 255.
- Green
- The amount of green color to be used for the resulting region color. Use the value between 0 and 255.
- Blue
- The amount of blue color to be used for the resulting region color. Use the value between 0 and 255.
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.