public class Redaction extends Object
Constructor and Description |
---|
Redaction() |
Modifier and Type | Method and Description |
---|---|
static void |
_RedactText(Page page,
Rectangle rect) |
static void |
getredactArea(Page page,
Rectangle rect,
Color color)
get redact Area
|
static List<Operator> |
getRedactionAppearance(Rectangle rect,
Color color)
get Redaction Appearance
|
static com.aspose.ms.System.Collections.Generic.List<Operator> |
getRedactionAppearanceInternal(Rectangle rect,
com.aspose.ms.System.Drawing.Color color)
For Internal Usage only get Redaction Appearance
|
static void |
redactAnnotations(Page page,
Rectangle rect)
Removes Annotation which is in required rectangle
|
static void |
redactArea(Page page,
Rectangle rect,
Color color)
For Internal Usage only get redact Area
|
static void |
redactAreaInternal(Page page,
Rectangle rect,
com.aspose.ms.System.Drawing.Color color,
boolean exactArea) |
static void |
redactImages(Page page,
Rectangle rect,
Color color)
Removes images (or redacts contents of the image is image is partially covered by rectangle)
|
static void |
redactText(Page page,
Rectangle rect)
Removes text which is in requried rectangle
|
static void |
redactText(XForm form,
Rectangle rect)
Removes text which is in requried rectangle
|
public static void redactText(Page page, Rectangle rect)
page
- Page objectrect
- Rectangle objectpublic static void redactText(XForm form, Rectangle rect)
form
- XForm objectrect
- Rectangle objectpublic static void redactImages(Page page, Rectangle rect, Color color)
page
- Page objectrect
- Rectangle objectcolor
- Color objectpublic static void redactAnnotations(Page page, Rectangle rect)
page
- Page objectrect
- Rectangle objectpublic static List<Operator> getRedactionAppearance(Rectangle rect, Color color)
rect
- Rectangle objectcolor
- Color objectList<Operator> object
public static com.aspose.ms.System.Collections.Generic.List<Operator> getRedactionAppearanceInternal(Rectangle rect, com.aspose.ms.System.Drawing.Color color)
rect
- Rectangle objectcolor
- Color objectList<Operator> object
public static void getredactArea(Page page, Rectangle rect, Color color)
page
- Page objectrect
- Rectangle objectcolor
- Color objectpublic static void redactArea(Page page, Rectangle rect, Color color)
page
- Page objectrect
- Rectangle objectcolor
- Color object