FreeTextAnnotation
المعلومات العامة
FreeTextAnnotation هو نوع في Aspose.PDF FOSS ل Go.
FreeTextAnnotation يعرض النص مباشرة على الصفحة، معتمد في /AP/N باستخدام الخط المضمن.
يوفر هذا النوع 18 طريقة للعمل مع FreeTextAnnotation كائنات في برامج Go. المنهجيات المتاحة تشمل: AnnotationType, BorderEffect, BorderEffectIntensity, CalloutPoints, Contents, EndLineEnding, InnerRect, Intent, RegenerateAppearance, SetBorderEffect, SetBorderEffectIntensity, SetCalloutPoints,، و 6 طرق إضافية. جميع أعضاء الجمهور يمكن الوصول إليهم من أي تطبيق Go بعد تثبيت حزمة Aspose.PDF FOSS for Go.
الطرق
| التوقيع | وصف |
|---|---|
AnnotationType() → AnnotationType | يعيد نوع التعليقات. |
Contents() → string | يُعيد Content جسم النص /Contents. |
SetContents(s: string) | SetContents يكتب /Contents ويعيد إنشاء /AP/N (محتويات النص المردد تعتمد على Contents). |
TextStyle() → TextStyle | TextStyle يعيد نمط النص الذي تم إعادة بناؤه من /DA + /Q +/BG. |
SetTextStyle(s: TextStyle) | SetTextStyle يكتب النمط كـ /DA + /Q +/BG ويعيد إنشاء /AP/N. |
Intent() → FreeTextIntent | يعيد Intent إدخال /IT المترتب إلى FreeTextIntent. |
SetIntent(i: FreeTextIntent) | SetIntent يكتب إدخال /IT. |
RegenerateAppearance() | RegenerateAppearance يفرض /AP/N أن يتم إعادة بناءه من الحالة الحالية. |
CalloutPoints() → []Point | CalloutPoints يعيد /CL knee + نقاط النهاية (مساحة الصفحة). |
SetCalloutPoints(pts: []Point) | SetCalloutPoints يكتب /CL (يجب أن يكون 2 أو 3 نقاط؛ وإلا فإن المكالمة هي لا-op). |
EndLineEnding() → LineEndingStyle | EndLineEnding يعيد إدخال /LE كLineEndingStyle. |
SetEndLineEnding(s: LineEndingStyle) | SetEndLineEnding يكتب /LE لشكل نقطة النهاية للاتصال. |
InnerRect() → Rectangle | InnerRect يعيد المستطيل الداخلي النص المستخلص من /RD entry. |
SetInnerRect(inner: Rectangle) | SetInnerRect يكتب /RD والذي يتم احتسابه من الفرق بين الـ /Rect الخارجي و (المساحة الصفحة) الداخلية المقدمة. |
BorderEffect() → BorderEffect | BorderEffect يعيد إدخال /BE/S كBorderEffect. |
SetBorderEffect(e: BorderEffect) | SetBorderEffect يكتب /BE/S. |
BorderEffectIntensity() → float64 | BorderEffectIntensity يعيد إدخال /BE/I. |
SetBorderEffectIntensity(i: float64) | SetBorderEffectIntensity يكتب /BE/I (كثافة السحابة، عادة 0-2). |