StampAnnotation
المعلومات العامة
StampAnnotation هو نوع في Aspose.PDF FOSS ل Go.
StampAnnotation هو ملخص طابع مطاطي.
يوفر هذا النوع 10 طرق للعمل مع StampAnnotation كائنات في برامج Go. المنهجيات المتاحة تشمل: AnnotationType, ClearCustomImage, HasCustomImage, Name, RawName, RegenerateAppearance, SetCustomImage, SetCustomImageFromStream, SetName, SetRawName. جميع أعضاء الجمهور يمكن الوصول إليهم من أي تطبيق Go بعد تثبيت حزمة Aspose.PDF FOSS for Go.
الطرق
| التوقيع | وصف |
|---|---|
AnnotationType() → AnnotationType | يعيد نوع التعليقات. |
Name() → StampName | يعيد اسم StampName المفكور من /Name. |
SetName(n: StampName) | SetName يكتب / اسم الإدخال من StampName المكتوب. |
RawName() → string | RawName يعيد إدخال /Name كسلسولة خام ("/Approved"، custom). |
SetRawName(s: string) | SetRawName يكتب / اسم الإدخال من سلسلة خام. |
HasCustomImage() → bool | HasCustomImage يعود true إذا تم استدعاء SetCustomImage / SetCustomImageFromStream ولم يتم التنظيف لاحقاً. |
RegenerateAppearance() | RegenerateAppearance يفرض /AP/N أن يتم إعادة بناءه من الحالة الحالية. |
SetCustomImage(path: string) → error | SetCustomImage يضمن الصورة في المسار كـ /AP/N بصري للختم، ويحلّ محل قوالب الاسم المحدد مسبقًا. |
SetCustomImageFromStream(r: io.Reader) → error | SetCustomImageFromStream هو متغير io.Reader من SetCustomImage. |
ClearCustomImage() | ClearCustomImage يعود /AP/N إلى المشهد المحدد مسبقاً. |