AutoShape
Panoramica
AutoShape è una classe in Aspose.Slides FOSS per C++.
Rappresenta un AutoShape.
Questa classe fornisce 13 metodi per lavorare con oggetti AutoShape in programmi C++. I metodi disponibili includono: AutoShape, GeometryShape, TextFrame, add_text_frame, as_i_geometry_shape, init_internal, is_text_box, text_frame. Tutti i membri pubblici sono accessibili a qualsiasi applicazione C++ dopo aver installato il pacchetto Aspose.Slides FOSS per C++. Proprietà: GeometryShape, TextFrame.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
TextFrame | TextFrame | Lettura | Ottiene il frame di testo. |
GeometryShape | GeometryShape | Lettura | Ottiene la forma geometrica. |
Metodi
| Firma | Descrizione |
|---|---|
TextFrame() → TextFrame | La proprietà fornisce l’accesso all’oggetto TextFrame della forma |
TextFrame() → TextFrame | |
GeometryShape() → GeometryShape | Restituisce il GeometryShape che definisce la geometria di questo AutoShape |
GeometryShape() → GeometryShape | |
AutoShape() | |
AutoShape(type: ShapeType, x: double, y: double, w: double, h: double) | |
text_frame() → TextFrame | Restituisce il TextFrame per il AutoShape, o nullptr se nessuno. |
text_frame() → TextFrame | Restituisce il TextFrame per il AutoShape, o nullptr se nessuno. |
is_text_box() → bool | Specifica se la forma è una casella di testo. |
as_i_geometry_shape() → GeometryShape | Restituisce questa forma come riferimento GeometryShape. |
as_i_geometry_shape() → GeometryShape | Restituisce questa forma come riferimento GeometryShape. |
add_text_frame(text: std::string_view) → TextFrame | Aggiunge un riquadro di testo con il testo fornito, sostituendo eventuali esistenti. Le righe separate da \r\n, \r o \n creano paragrafi distinti. |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Inizializza il AutoShape a partire da un elemento XML, includendo il rilevamento del frame di testo. |