AutoShape
Vue de l’ensemble
‘AutoShape’ est une classe dans Aspose.Slides FOSS pour C++.
Représente une AutoShape.
Cette classe fournit 13 méthodes pour travailler avec des objets AutoShape dans les programmes C++. Les méthodologies disponibles comprennent: AutoShapes, GeometryShabes', TextFrame,add_text_frame‘, ‘as_i_geometri_shape,, init_internal is_texte_boxettext-fram. Tous les membres publics sont accessibles à n'importe quelle application C ++ après l'installation de l’Aspoe.Slides FOSS pour le package C+. Propriétés : GeometreShappes ́,TeXTFrames .
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
TextFrame | TextFrame | Read | Gets the text frame. |
GeometryShape | GeometryShape | Read | Gets the geometry shape. |
méthodes
| Signature | Description |
|---|---|
TextFrame() → TextFrame | Property provides access to the shape’s TextFrame object |
TextFrame() → TextFrame | |
GeometryShape() → GeometryShape | Returns the GeometryShape defining this AutoShape’s geometry |
GeometryShape() → GeometryShape | |
AutoShape() | |
AutoShape(type: ShapeType, x: double, y: double, w: double, h: double) | |
text_frame() → TextFrame | Returns the TextFrame for the AutoShape, or nullptr if none. |
text_frame() → TextFrame | Returns the TextFrame for the AutoShape, or nullptr if none. |
is_text_box() → bool | Specifies if the shape is a text box. |
as_i_geometry_shape() → GeometryShape | Returns this shape as a GeometryShape reference. |
as_i_geometry_shape() → GeometryShape | Returns this shape as a GeometryShape reference. |
add_text_frame(text: std::string_view) → TextFrame | Adds a text frame with the given text, replacing any existing one. Lines separated by \r\n, \r, or \n create separate paragraphs. |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Initializes the AutoShape from an XML element, including text frame detection. |
Voir aussi
- Aspose.Slides - référence API d’entreprise