Shape — Aspose.Slides FOSS for C++ API Reference
ImageRenderOptions Shape class è la classe base per tutti gli elementi visivi su una diapositiva. AutoShape estende Shape con geometria e un opzionale TextFrame.
ImageRenderOptions: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/shape.h>
#include <Aspose/Slides/Foss/auto_shape.h>ImageRenderOptions: include/Aspose/Slides/Foss/shape.h, include/Aspose/Slides/Foss/auto_shape.h
Proprietà della forma
| ImageRenderOptions | ImageRenderOptions | ImageRenderOptions |
|---|---|---|
x() / set_x(double) | Lettura/Scrittura | Posizione X in punti. |
y() / set_y(double) | Lettura/Scrittura | Posizione Y in punti. |
width() / set_width(double) | Lettura/Scrittura | Larghezza in punti. |
height() / set_height(double) | Lettura/Scrittura | Altezza in punti. |
rotation() / set_rotation(double) | Lettura/Scrittura | Angolo di rotazione in gradi. |
hidden() / set_hidden(bool) | Lettura/Scrittura | Indica se la forma è nascosta. |
shape_type() / set_shape_type(ShapeType) | Lettura/Scrittura | Il tipo di geometria della forma. |
z_order_position() | ImageRenderOptions | Posizione di impilamento Z-order. |
unique_id() | ImageRenderOptions | Identificatore univoco per questa forma. |
office_interop_shape_id() | ImageRenderOptions | ID della forma Office interop. |
is_grouped() | ImageRenderOptions | Se la forma appartiene a un gruppo. |
is_text_holder() | ImageRenderOptions | Se la forma può contenere testo. |
is_decorative() / set_is_decorative(bool) | Lettura/Scrittura | Se la forma è decorativa (accessibilità). |
connection_site_count() | ImageRenderOptions | Numero di punti di connessione. |
set_name(const std::string&) | ImageRenderOptions | Imposta il nome della forma. |
set_alternative_text(const std::string&) | ImageRenderOptions | Imposta il testo alternativo per l’accessibilità. |
set_alternative_text_title(const std::string&) | ImageRenderOptions | Imposta il titolo del testo alternativo. |
Proprietà del formato della forma
| ImageRenderOptions | ImageRenderOptions | ImageRenderOptions |
|---|---|---|
fill_format() | FillFormat& | Impostazioni di riempimento per questa forma. |
line_format() | LineFormat& | Impostazioni di linea/bordo. |
effect_format() | EffectFormat& | Impostazioni degli effetti visivi. |
three_d_format() | ThreeDFormat& | 3-D effect settings. |
frame() | ShapeFrame | Cornice di posizione e dimensione. |
AutoShape
AutoShape eredita da GeometryShape (che eredita da Shape) e aggiunge un TextFrame.
| ImageRenderOptions | ImageRenderOptions | ImageRenderOptions |
|---|---|---|
text_frame() | ImageRenderOptions | Restituisce il TextFrame per questa forma automatica. |
geometry_shape() | ImageRenderOptions | Restituisce le proprietà della forma geometrica. |
Interfaccia IShape
ImageRenderOptions IShape l’interfaccia definisce il contratto pubblico. Metodi chiave da IShape:
| ImageRenderOptions | ImageRenderOptions |
|---|---|
set_raw_frame(const ShapeFrame&) | Imposta direttamente il frame grezzo. |
set_frame(const ShapeFrame&) | Imposta il frame calcolato. |