com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Redaction



  • public class Redaction
    extends Object
    For internal usage only
    Author:
    User
    • Constructor Detail

      • Redaction

        public Redaction()
    • Method Detail

      • redactText

        public static void redactText(Page page,
                                      Rectangle rect)
        Removes text which is in requried rectangle
        Parameters:
        page - Page object
        rect - Rectangle object
      • redactText

        public static void redactText(XForm form,
                                      Rectangle rect)
        Removes text which is in requried rectangle
        Parameters:
        form - XForm object
        rect - Rectangle object
      • _RedactText

        public static void _RedactText(Page page,
                                       Rectangle rect)
      • redactImages

        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:
        page - Page object
        rect - Rectangle object
        color - Color object
      • redactAnnotations

        public static void redactAnnotations(Page page,
                                             Rectangle rect)
        Removes Annotation which is in required rectangle
        Parameters:
        page - Page object
        rect - Rectangle object
      • getRedactionAppearance

        public static List<Operator> getRedactionAppearance(Rectangle rect,
                                                            Color color)
        get Redaction Appearance
        Parameters:
        rect - Rectangle object
        color - Color object
        Returns:
        List<Operator> object
      • getRedactionAppearanceInternal

        public 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
        Parameters:
        rect - Rectangle object
        color - Color object
        Returns:
        List<Operator> object
      • getredactArea

        public static void getredactArea(Page page,
                                         Rectangle rect,
                                         Color color)
        get redact Area
        Parameters:
        page - Page object
        rect - Rectangle object
        color - Color object
      • redactArea

        public static void redactArea(Page page,
                                      Rectangle rect,
                                      Color color)
        For Internal Usage only get redact Area
        Parameters:
        page - Page object
        rect - Rectangle object
        color - Color object
      • redactAreaInternal

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