DataLabel
Overview
DataLabel เป็นคลาสใน Aspose.Slides FOSS สําหรับ Python. ทายาทจาก: IDataLabel.
แสดงเป็นตัวกระบุจุดข้อมูลในซีเรียส.
หมวดนี้ให้ 3 วิธีในการทํางานกับวัตถุ DataLabel ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: add_text_frame_for_overriding, get_actual_label_text, hide. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: actual_height, actual_width, actual_x, actual_y, as_i_chart_component, as_i_presentation_component,และอีก 15 คน.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
chart | `` | Read | ได้แผนภูมิ. |
slide | `` | Read | ได้รับสไลด์. |
presentation | `` | Read | ได้รับการนําเสนอ. |
is_visible | bool | Read | True เมื่อป้าย show_* ใด ๆ ถูกตั้งไว้บนเครื่องหมายนี้หรือในเรียงตามกําหนด. |
data_label_format | 'IDataLabelFormat' | Read | รูปแบบของเครื่องหมายเฉพาะนี้. |
text_format | 'IChartTextFormat' | Read | รูปแบบข้อความตาราง. |
x | float | อ่าน/เขียน | ได้หรือตั้ง x. |
y | float | อ่าน/เขียน | ได้หรือตั้ง y. |
width | float | อ่าน/เขียน | ได้หรือกําหนดความกว้าง. |
height | float | อ่าน/เขียน | ได้หรือกําหนดความสูง. |
right | float | Read | ได้สิทธิ. |
bottom | float | Read | ได้ที่ล่างสุดๆ. |
text_frame_for_overriding | 'ITextFrame' | Read | แผนข้อความที่ครอบคลุมสําหรับเครื่องหมายนี้ หรือ ไม่มี. |
value_from_cell | 'IChartDataCell' | อ่าน/เขียน | เซลล์ในหนังสือทํางานที่ค่าของมันถูกใช้เป็นข้อความของตัวกระดาษ. |
as_i_chart_component | IChartComponent | Read | ให้การรับพื้นฐาน IChartComponent ช่องทาง. |
as_i_slide_component | ISlideComponent | Read | ได้ส่วนประกอบที่สไลด์เป็น i. |
as_i_presentation_component | IPresentationComponent | Read | ได้รับส่วนประกอบการนําเสนอ as i. |
actual_x | float | Read | ระบุสถานที่ x ของตัวตาราง (ซ้าย) ในส่วนของมุมด้านบนซ້າຍของตรา. |
actual_y | float | Read | ระบุส่วนบนของตัวตารางที่จริง เกี่ยวกับมุมด้านบนซ้ายของตรา. |
actual_width | float | Read | ระบุความกว้างจริงของตัวตาราง. |
actual_height | float | Read | ระบุความสูงจริงของตัวส่วนตาราง. |
Methods
| Signature | Description |
|---|---|
add_text_frame_for_overriding(text: str) → 'ITextFrame' | สร้างหรือเปลี่ยนกรอบข้อความที่สําคัญด้วยบทความเดิม. |
get_actual_label_text() → str | กลับข้อความการยกเลิกอย่างชัดเจนเมื่อมี, หากไม่ไรเส้นว่าง. |
hide() | ซ่อนเครื่องหมายนี้โดยการตั้ง <c:delete val=‘1’/>. |