FreeTextAnnotation

FreeTextAnnotation

ภาพรวม

FreeTextAnnotation เป็นตัวอย่างใน Aspose.PDF FOSS for Go.

FreeTextAnnotation แสดงข้อความตรงบนหน้า, ทําให้เป็น / AP/N โดยใช้ตัวอักษรที่ติดตั้งไว้.

ประเภทนี้ให้ 18 วิธีในการทํางานกับวัตถุ FreeTextAnnotation ในโปรแกรม Go. วิธีการที่ใช้ได้แก่: AnnotationType, BorderEffect, BorderEffectIntensity, CalloutPoints, Contents, EndLineEnding, InnerRect, Intent, RegenerateAppearance, SetBorderEffect, SetBorderEffectIntensity, SetCalloutPoints,และวิธีการเพิ่มเติม 6 วิธี. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Go ได้หลังจากติดตั้งแพ็คเกจ FOSS for Go.

วิธีการ

Signatureคําอธิบาย
AnnotationType()AnnotationTypeการคืนประเภทคําอธิบาย.
Contents()stringContent กลับตัวข้อความ /Contents.
SetContents(s: string)SetContents เขียน / Content และสร้างใหม่ / AP/N (เนื้อหาข้อความที่ทําการแสดงขึ้น ขึ้นอยู่กับ Contents).
TextStyle()TextStyleTextStyle ส่งกลับรูปแบบข้อความที่สร้างใหม่จาก /DA + /Q +/BG.
SetTextStyle(s: TextStyle)SetTextStyle เขียนสไตล์เป็น /DA + /Q +/BG และสร้างใหม่ /AP/N.
Intent()FreeTextIntentIntent กลับ /IT แอตทรีเมปไปยัง FreeTextIntent.
SetIntent(i: FreeTextIntent)SetIntent เขียน /IT ลงทะเบียน.
RegenerateAppearance()RegenerateAppearance กดบังคับ /AP/N ให้สร้างใหม่จากภาวะปัจจุบัน.
CalloutPoints()[]PointCalloutPoints ส่งกลับ / CL knee + จุดปลาย (พื้นที่หน้า).
SetCalloutPoints(pts: []Point)SetCalloutPoints เขียน /CL (ต้องมี 2 หรือ 3 คะแนน; ถ้าไม่ดังนั้นการเรียกจะไม่มี op).
EndLineEnding()LineEndingStyleEndLineEnding ส่งกลับ /LE เป็น LineEndingStyle.
SetEndLineEnding(s: LineEndingStyle)SetEndLineEnding เขียน /LE สําหรับรูปแบบจุดปลายการเรียก.
InnerRect()RectangleInnerRect ส่งกลับข้อความในสี่เหลี่ยมที่มาจาก /RD entry.
SetInnerRect(inner: Rectangle)SetInnerRect เขียน /RD โดยคํานวณจากความแตกต่างระหว่าง /Rect ด้านนอกและ rect ภายในที่ได้รับ (หน้า-พื้น).
BorderEffect()BorderEffectBorderEffect จะส่งการเข้า /BE/S เป็น BorderEffect.
SetBorderEffect(e: BorderEffect)SetBorderEffect เขียน /BE/S.
BorderEffectIntensity()float64BorderEffectIntensity ส่งกลับ /BE/I ลงมา.
SetBorderEffectIntensity(i: float64)SetBorderEffectIntensity เขียน /BE/I (ความเข้มของเมฆ, โดยทั่วไป 0-2).

ดูเช่นกัน

 ภาษาไทย