AutoShape

Vue d’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

NameTypeAccessDescription
TextFrameTextFrameReadGets the text frame.
GeometryShapeGeometryShapeReadGets the geometry shape.

méthodes

SignatureDescription
TextFrame() → TextFrameProperty provides access to the shape’s TextFrame object
TextFrame() → TextFrame
GeometryShape() → GeometryShapeReturns the GeometryShape defining this AutoShape’s geometry
GeometryShape() → GeometryShape
AutoShape()
AutoShape(type: ShapeType, x: double, y: double, w: double, h: double)
text_frame() → TextFrameReturns the TextFrame for the AutoShape, or nullptr if none.
text_frame() → TextFrameReturns the TextFrame for the AutoShape, or nullptr if none.
is_text_box() → boolSpecifies if the shape is a text box.
as_i_geometry_shape() → GeometryShapeReturns this shape as a GeometryShape reference.
as_i_geometry_shape() → GeometryShapeReturns this shape as a GeometryShape reference.
add_text_frame(text: std::string_view) → TextFrameAdds 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
 Français