RedactAnnotation
Visión general
RedactAnnotation es una clase en Aspose.PDF FOSS para TypeScript. Hereda de: Annotation.
Una anotación /Redact (PDF 32000-1 §12.5.6.23): a mark sobre una región, más la superposición para pintar cuando se aplica.
Esta clase declara 2 métodos para objetos RedactAnnotation en programas TypeScript. Los métodos disponibles incluyen: Flatten, constructor. Todos los miembros públicos son accesibles a cualquier aplicación TypeScript después de instalar el paquete Aspose.PDF FOSS para TypeScript. Propiedades: Alignment, Author, Color, Contents, Flags, FontSize, y 14 más.
Propiedades
| Nombre | Tipo | Acceso | Descripción |
|---|---|---|---|
QuadPoints | number[] | Lectura/Escritura | Obtiene los puntos del cuadrilátero. |
InteriorColor | `[number, number, number] | undefined` | Lectura/Escritura |
Alignment | `‘left’ | ‘center’ | ‘right’` |
OverlayText | `string | undefined` | Lectura/Escritura |
Repeat | boolean | Lectura/Escritura | Obtiene la repetición. |
FontSize | number | Lectura/Escritura | Obtiene el tamaño de fuente. |
TextColor | [number, number, number] | Lectura/Escritura | Obtiene el color del texto. |
Author | `string | undefined` | Lectura/Escritura |
Overlay | `PdfStream | undefined` | Lectura |
Subtype | string | Lectura | Obtiene el subtipo. |
Rect | `[number, number, number, number] | undefined` | Lectura/Escritura |
Color | `[number, number, number] | undefined` | Lectura/Escritura |
Contents | `string | undefined` | Lectura/Escritura |
Name | `string | undefined` | Lectura/Escritura |
Layer | `Layer | undefined` | Lectura/Escritura |
ModDate | `Date | string | undefined` |
Flags | number | Lectura/Escritura | Obtiene las banderas. |
Print | boolean | Lectura/Escritura | Obtiene la impresión. |
Hidden | boolean | Lectura/Escritura | Obtiene lo oculto. |
Opacity | `number | undefined` | Lectura/Escritura |
Métodos
| Firma | Descripción |
|---|---|
constructor(doc: Document, Dict: PdfDict) | Llama al constructor(doc, Dict) en esta instancia de RedactAnnotation. |
Flatten() → boolean | Incorpora solo esta anotación en el contenido estático de la página: dibuja su apariencia /AP /N en los /Contents de la página en su /Rect y elimínala de /Annots. |