ThreeDFormat
Vue de l’ensemble
‘ThreeDFormat’ est une classe dans Aspose.Slides FOSS pour C++.
Représente les propriétés de mise en forme 3D d’une forme.
Cette classe fournit 38 méthodes pour travailler avec des objets de ThreeDFormat dans les programmes C++. Les méthodologies disponibles comprennent: Camera, LightRig , MaterialPresetType ; ShapeBevel; SimpleColorFormat : ‘Threedformad،bevel_bottometBevel-top . la caméra est à l’aide d’un contenu de couleur, de «contour_width en profondeur ainsi que 16 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après avoir installé le package Aspose.Slides FOSS pour le C+. Propriétés : camera
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
ShapeBevel | ShapeBevel | Read | Gets the shape bevel. |
Camera | Camera | Read | Gets the camera. |
LightRig | LightRig | Read | Gets the light rig. |
SimpleColorFormat | SimpleColorFormat | Read | Gets the simple color format. |
MaterialPresetType | MaterialPresetType | Read | Gets the material preset type. |
méthodes
| Signature | Description |
|---|---|
ShapeBevel() → ShapeBevel | Returns the ShapeBevel object that defines bevel settings for the shape |
ShapeBevel() → ShapeBevel | |
Camera() → Camera | Returns the Camera object that controls the 3‑D view perspective |
LightRig() → LightRig | Returns the LightRig object that defines lighting for the 3‑D effect |
SimpleColorFormat() → SimpleColorFormat | Returns the SimpleColorFormat object that specifies a solid color fill for 3‑D |
SimpleColorFormat() → SimpleColorFormat | |
SimpleColorFormat() → SimpleColorFormat | |
SimpleColorFormat() → SimpleColorFormat | |
MaterialPresetType() → MaterialPresetType | Returns the current material preset enum value applied to the 3‑D surface |
ThreeDFormat() | |
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize XML-backed 3D format. |
get_sp3d() → pugi::xml_node | Get the element if it exists. |
ensure_sp3d() → pugi::xml_node | Get or create the element at the correct OOXML position. |
get_scene3d() → pugi::xml_node | Get the element if it exists. |
ensure_scene3d() → pugi::xml_node | Get or create the element at the correct OOXML position. |
save() | Save changes via the save callback. |
has_data() → bool | Returns true if any 3D properties have been set. |
serialize_to_xml(sp_pr: pugi::xml_node) | Serialize 3D formatting to an XML spPr node (for from-scratch save). |
bevel_top() → ShapeBevel | Returns the top bevel properties (ensures sp3d element exists). |
bevel_top() → ShapeBevel | Returns the top bevel properties (ensures sp3d element exists). |
bevel_bottom() → ShapeBevel | Returns the bottom bevel properties (ensures sp3d element exists). |
bevel_bottom() → ShapeBevel | Returns the bottom bevel properties (ensures sp3d element exists). |
camera() → Camera | Returns the camera properties (ensures scene3d element exists). |
camera() → Camera | Returns the camera properties (ensures scene3d element exists). |
light_rig() → LightRig | Returns the light rig properties (ensures scene3d element exists). |
light_rig() → LightRig | Returns the light rig properties (ensures scene3d element exists). |
depth() → double | Returns the extrusion depth. |
set_depth(value: double) | Sets the extrusion depth of the 3‑D shape |
extrusion_height() → double | Returns the extrusion height. |
set_extrusion_height(value: double) | |
extrusion_color() → SimpleColorFormat | Returns the extrusion color. |
extrusion_color() → SimpleColorFormat | Returns the extrusion color. |
contour_width() → double | Returns the contour width. |
set_contour_width(value: double) | |
contour_color() → SimpleColorFormat | Returns the contour color. |
contour_color() → SimpleColorFormat | Returns the contour color. |
material() → MaterialPresetType | Returns the material preset type. |
set_material(value: MaterialPresetType) | Assigns a material preset to the 3‑D surface |
Voir aussi
- Aspose.Slides - référence API d’entreprise