Camera
Overview
Camera is a class in Aspose.Slides FOSS for Python.
Inherits from: PVIObject, ISlideComponent, IPresentationComponent.
Represents Camera.
This class provides 2 methods for working with Camera objects in Python programs.
Available methods include: get_rotation, set_rotation.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_presentation_component, camera_type, field_of_view_angle, presentation, slide, zoom.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
camera_type | CameraPresetType | Read/Write | Camera type. |
field_of_view_angle | float | Read/Write | Camera FOV (0-180 deg, field of View). |
zoom | float | Read/Write | Camera zoom (positive value in percentage). |
as_i_presentation_component | IPresentationComponent | Read | Allows to get base IPresentationComponent interface. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
set_rotation(latitude, longitude, revolution) | Sets the rotation value. |
get_rotation() → list[float] | Returns the rotation. |