Redaction

Inheritance: java.lang.Object

public class Redaction

For internal usage only

Constructors

ConstructorDescription
Redaction()

Methods

MethodDescription
redactText(Page page, Rectangle rect)Removes text which is in requried rectangle
redactText(XForm form, Rectangle rect)Removes text which is in requried rectangle
_RedactText(Page page, Rectangle rect)
redactImages(Page page, Rectangle rect, Color color)Removes images (or redacts contents of the image is image is partially covered by rectangle)
redactAnnotations(Page page, Rectangle rect)Removes Annotation which is in required rectangle
getRedactionAppearance(Rectangle rect, Color color)get Redaction Appearance
getRedactionAppearanceInternal(Rectangle rect, System.Drawing.Color color)For Internal Usage only get Redaction Appearance
getredactArea(Page page, Rectangle rect, Color color)get redact Area
redactArea(Page page, Rectangle rect, Color color)For Internal Usage only get redact Area
redactAreaInternal(Page page, Rectangle rect, System.Drawing.Color color, boolean exactArea)

Redaction()

public Redaction()

redactText(Page page, Rectangle rect)

public static void redactText(Page page, Rectangle rect)

Removes text which is in requried rectangle

Parameters:

ParameterTypeDescription
pagePagePage object
rectRectangleRectangle object

redactText(XForm form, Rectangle rect)

public static void redactText(XForm form, Rectangle rect)

Removes text which is in requried rectangle

Parameters:

ParameterTypeDescription
formXFormXForm object
rectRectangleRectangle object

_RedactText(Page page, Rectangle rect)

public static void _RedactText(Page page, Rectangle rect)

Parameters:

ParameterTypeDescription
pagePage
rectRectangle

redactImages(Page page, Rectangle rect, Color color)

public static void redactImages(Page page, Rectangle rect, Color color)

Removes images (or redacts contents of the image is image is partially covered by rectangle)

Parameters:

ParameterTypeDescription
pagePagePage object
rectRectangleRectangle object
colorjava.awt.ColorColor object

redactAnnotations(Page page, Rectangle rect)

public static void redactAnnotations(Page page, Rectangle rect)

Removes Annotation which is in required rectangle

Parameters:

ParameterTypeDescription
pagePagePage object
rectRectangleRectangle object

getRedactionAppearance(Rectangle rect, Color color)

public static List<Operator> getRedactionAppearance(Rectangle rect, Color color)

get Redaction Appearance

Parameters:

ParameterTypeDescription
rectRectangleRectangle object
colorjava.awt.ColorColor object

Returns: java.util.List<com.aspose.pdf.Operator> - List object

getRedactionAppearanceInternal(Rectangle rect, System.Drawing.Color color)

public static System.Collections.Generic.List<Operator> getRedactionAppearanceInternal(Rectangle rect, System.Drawing.Color color)

For Internal Usage only get Redaction Appearance

Parameters:

ParameterTypeDescription
rectRectangleRectangle object
colorcom.aspose.ms.System.Drawing.ColorColor object

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.pdf.Operator> - List object

getredactArea(Page page, Rectangle rect, Color color)

public static void getredactArea(Page page, Rectangle rect, Color color)

get redact Area

Parameters:

ParameterTypeDescription
pagePagePage object
rectRectangleRectangle object
colorjava.awt.ColorColor object

redactArea(Page page, Rectangle rect, Color color)

public static void redactArea(Page page, Rectangle rect, Color color)

For Internal Usage only get redact Area

Parameters:

ParameterTypeDescription
pagePagePage object
rectRectangleRectangle object
colorjava.awt.ColorColor object

redactAreaInternal(Page page, Rectangle rect, System.Drawing.Color color, boolean exactArea)

public static void redactAreaInternal(Page page, Rectangle rect, System.Drawing.Color color, boolean exactArea)

Parameters:

ParameterTypeDescription
pagePage
rectRectangle
colorcom.aspose.ms.System.Drawing.Color
exactAreaboolean