RedactAnnotation
RedactAnnotation
Visão geral
RedactAnnotation é uma classe em Aspose.PDF FOSS para TypeScript. Herda de: Annotation.
Uma anotação /Redact (PDF 32000-1 §12.5.6.23): a mark sobre uma região, além da sobreposição para pintar quando for aplicada.
Esta classe declara 2 métodos para objetos RedactAnnotation em programas TypeScript. Os métodos disponíveis incluem: Flatten, constructor. Todos os membros públicos são acessíveis a qualquer aplicação TypeScript após a instalação do pacote Aspose.PDF FOSS para TypeScript. Propriedades: Alignment, Author, Color, Contents, Flags, FontSize, e mais 14.
Propriedades
| Nome | Tipo | Acesso | Descrição |
|---|---|---|---|
QuadPoints | number[] | Leitura/Escrita | Obtém os pontos de quadrilátero. |
InteriorColor | `[number, number, number] | undefined` | Leitura/Escrita |
Alignment | `‘left’ | ‘center’ | ‘right’` |
OverlayText | `string | undefined` | Leitura/Escrita |
Repeat | boolean | Leitura/Escrita | Obtém a repetição. |
FontSize | number | Leitura/Escrita | Obtém o tamanho da fonte. |
TextColor | [number, number, number] | Leitura/Escrita | Obtém a cor do texto. |
Author | `string | undefined` | Leitura/Escrita |
Overlay | `PdfStream | undefined` | Leitura |
Subtype | string | Leitura | Obtém o subtipo. |
Rect | `[number, number, number, number] | undefined` | Leitura/Escrita |
Color | `[number, number, number] | undefined` | Leitura/Escrita |
Contents | `string | undefined` | Leitura/Escrita |
Name | `string | undefined` | Leitura/Escrita |
Layer | `Layer | undefined` | Leitura/Escrita |
ModDate | `Date | string | undefined` |
Flags | number | Leitura/Escrita | Obtém as flags. |
Print | boolean | Leitura/Escrita | Obtém a impressão. |
Hidden | boolean | Leitura/Escrita | Obtém o oculto. |
Opacity | `number | undefined` | Leitura/Escrita |
Métodos
| Assinatura | Descrição |
|---|---|
constructor(doc: Document, Dict: PdfDict) | Chama o construtor(doc, Dict) nesta instância de RedactAnnotation. |
Flatten() → boolean | Desenhe sua aparência /AP /N na /Contents da página em seu /Rect e remova-a de /Annots. |