AutoShape

ภาพรวม

AutoShape เป็นคลาสใน Aspose.Slides FOSS สําหรับ C++.

แสดงเป็น AutoShape.

หมวดนี้ให้ 13 วิธีในการทํางานกับ AutoShape วัตถุในโปรแกรม C++. วิธีการที่ใช้ได้แก่: AutoShape, GeometryShape, TextFrame, add_text_frame, as_i_geometry_shape, init_internal, is_text_box, text_frame. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: GeometryShape, TextFrame.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
TextFrameTextFrameอ่านรับกรอบข้อความ.
GeometryShapeGeometryShapeอ่านรับรูปทรงเรขาคณิต.

วิธีการ

Signatureคําอธิบาย
TextFrame()TextFrameคุณสมบัติให้การเข้าถึงตัวของรูป TextFrame
TextFrame()TextFrame
GeometryShape()GeometryShapeการคืน GeometryShape ที่กําหนดการประโยคของ AutoShape นี้
GeometryShape()GeometryShape
AutoShape()
AutoShape(type: ShapeType, x: double, y: double, w: double, h: double)
text_frame()TextFrameกลับ TextFrame สําหรับ AutoShape, หรือ nullptr หากไม่มี.
text_frame()TextFrameกลับ TextFrame สําหรับ AutoShape, หรือ nullptr หากไม่มี.
is_text_box()boolระบุว่ารูปทรงเป็นกล่องข้อความหรือไม่.
as_i_geometry_shape()GeometryShapeส่งรูปนี้เป็น GeometryShape เซ็นต์.
as_i_geometry_shape()GeometryShapeส่งรูปนี้เป็น GeometryShape เซ็นต์.
add_text_frame(text: std::string_view)TextFrameเพิ่มกรอบข้อความกับบทที่ให้แล้ว แทนการมีอยู่. เส้นแยกด้วย \r\n, \ r หรือ \ n สร้าง paragraf ที่แตกต่างกัน.
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)เริ่มการ AutoShape จากตัว XML รวมถึงการตรวจจับกรอบข้อความ.

ดูเช่นกัน

 ภาษาไทย