AutoShape
Revisión
AutoShape Es una clase en Aspose.Slides FOSS para C++.
Representa un auto.
Esta clase proporciona 13 métodos para trabajar con los objetos de AutoShape en programas C++. Los métodos disponibles incluyen: AutoShape, GeometryShape, TextFrame, add_text_frame, as_i_geometry_shape, init_internal, is_text_box, text_frame. Todos los miembros públicos están accesibles a cualquier aplicación C++ después de instalar el Aspose.Slides FOSS para el paquete C+. Propiedades : GeometryShape, TextFrame.
Propiedades
| Nombre | Tipo | Acceso | Descripción |
|---|---|---|---|
TextFrame | TextFrame | Leer | Tiene el marco de texto. |
GeometryShape | GeometryShape | Leer | Se encuentra en forma de geometría. |
Metodología
| firma | Descripción |
|---|---|
TextFrame() → TextFrame | La propiedad proporciona acceso al objeto de la forma TextFrame |
TextFrame() → TextFrame | |
GeometryShape() → GeometryShape | Retorna la geometría de esta GeometryShape que define el |
GeometryShape() → GeometryShape | |
AutoShape() | |
AutoShape(type: ShapeType, x: double, y: double, w: double, h: double) | |
text_frame() → TextFrame | Devolver el TextFrame para elAutoShape, o nullptr si no hay. |
text_frame() → TextFrame | Devolver el TextFrame para elAutoShape, o nullptr si no hay. |
is_text_box() → bool | Determina si la forma es una caja de texto. |
as_i_geometry_shape() → GeometryShape | Devolve esta forma como referencia GeometryShape. |
as_i_geometry_shape() → GeometryShape | Devolve esta forma como referencia GeometryShape. |
add_text_frame(text: std::string_view) → TextFrame | Addique un marco de texto con el texto dado, sustituyendo cualquier uno existente.Líneas separadas por \r\n, \ r, o \n crean parágrafos separados. |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Inicializa el AutoShape desde un elemento XML, incluyendo la detección de cuadro de texto. |