ThreeDFormat

Visión general

‘ThreeDFormat’ es una clase en Aspose.Slides FOSS para C++.

Representa las propiedades de formato 3D de una forma.

Esta clase ofrece 38 métodos para trabajar con objetos de tres formatos en programas C++. Los métodos disponibles incluyen: ‘Camera’, ‘LightRig’, MaterialPresetType', ‘ShapeBevel’, 'SimpleColorFormat', ’ThreeDFormat’, bevel_bottom, 'beel_top , ‘camera’, ‘‘contour_color',''con tour_width y 16 métodos adicionales. Todos los miembros públicos son accesibles a cualquier aplicación C ++ después de instalar el Aspose.Slides FOSS para el paquete C+. Propiedades: Camera; ‘Materia’; `Premio’’, ́Shapes’ y ‘Formato Simpleto’.

Propiedades

NameTypeAccessDescription
ShapeBevelShapeBevelReadGets the shape bevel.
CameraCameraReadGets the camera.
LightRigLightRigReadGets the light rig.
SimpleColorFormatSimpleColorFormatReadGets the simple color format.
MaterialPresetTypeMaterialPresetTypeReadGets the material preset type.

Métodos

SignatureDescription
ShapeBevel() → ShapeBevelReturns the ShapeBevel object that defines bevel settings for the shape
ShapeBevel() → ShapeBevel
Camera() → CameraReturns the Camera object that controls the 3‑D view perspective
LightRig() → LightRigReturns the LightRig object that defines lighting for the 3‑D effect
SimpleColorFormat() → SimpleColorFormatReturns the SimpleColorFormat object that specifies a solid color fill for 3‑D
SimpleColorFormat() → SimpleColorFormat
SimpleColorFormat() → SimpleColorFormat
SimpleColorFormat() → SimpleColorFormat
MaterialPresetType() → MaterialPresetTypeReturns 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_nodeGet the element if it exists.
ensure_sp3d() → pugi::xml_nodeGet or create the element at the correct OOXML position.
get_scene3d() → pugi::xml_nodeGet the element if it exists.
ensure_scene3d() → pugi::xml_nodeGet or create the element at the correct OOXML position.
save()Save changes via the save callback.
has_data() → boolReturns 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() → ShapeBevelReturns the top bevel properties (ensures sp3d element exists).
bevel_top() → ShapeBevelReturns the top bevel properties (ensures sp3d element exists).
bevel_bottom() → ShapeBevelReturns the bottom bevel properties (ensures sp3d element exists).
bevel_bottom() → ShapeBevelReturns the bottom bevel properties (ensures sp3d element exists).
camera() → CameraReturns the camera properties (ensures scene3d element exists).
camera() → CameraReturns the camera properties (ensures scene3d element exists).
light_rig() → LightRigReturns the light rig properties (ensures scene3d element exists).
light_rig() → LightRigReturns the light rig properties (ensures scene3d element exists).
depth() → doubleReturns the extrusion depth.
set_depth(value: double)Sets the extrusion depth of the 3‑D shape
extrusion_height() → doubleReturns the extrusion height.
set_extrusion_height(value: double)
extrusion_color() → SimpleColorFormatReturns the extrusion color.
extrusion_color() → SimpleColorFormatReturns the extrusion color.
contour_width() → doubleReturns the contour width.
set_contour_width(value: double)
contour_color() → SimpleColorFormatReturns the contour color.
contour_color() → SimpleColorFormatReturns the contour color.
material() → MaterialPresetTypeReturns the material preset type.
set_material(value: MaterialPresetType)Assigns a material preset to the 3‑D surface

Ver también

  • Aspose.Slides - Referencia de API Enterprise
 Español