StampAnnotation
Vue de l’ensemble
‘StampAnnotation’ est un type dans Aspose.PDF FOSS pour Go.
La note est une note de ruban.
Ce type fournit 10 méthodes pour travailler avec les objets StampAnnotation dans les programmes Go. Les méthodologies disponibles comprennent: AnnotageType, ClearCustomImage , HasCustomsimage‘, 'Name et RawNamen ; RegenerateAppearance; SetCostomsImages : SetCustoImagFromStream: SetNames. Tous les membres publics sont accessibles à toute application Go après l’installation de la mise en place d’Aspouse.PDF FOSS pour le package Go .
méthodes
| Signature | Description |
|---|---|
AnnotationType() → AnnotationType | Returns the annotation type. |
Name() → StampName | Name returns the StampName decoded from /Name. |
SetName(n: StampName) | SetName writes the /Name entry from a typed StampName. |
RawName() → string | RawName returns the /Name entry as a raw string ("/Approved", custom). |
SetRawName(s: string) | SetRawName writes the /Name entry from a raw string. |
HasCustomImage() → bool | HasCustomImage returns true if SetCustomImage / SetCustomImageFromStream has been called and not subsequently cleared. |
RegenerateAppearance() | RegenerateAppearance forces /AP/N to be rebuilt from current state. |
SetCustomImage(path: string) → error | SetCustomImage embeds the image at path as the stamp’s /AP/N visual, overriding the predefined-name template. |
SetCustomImageFromStream(r: io.Reader) → error | SetCustomImageFromStream is the io.Reader variant of SetCustomImage. |
ClearCustomImage() | ClearCustomImage reverts /AP/N to the predefined-name template visual. |
Voir aussi
- Aspose.PDF — Résultats de l’API d’entreprise