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

NameTypeAccessDescription
camera_typeCameraPresetTypeRead/WriteCamera type.
field_of_view_anglefloatRead/WriteCamera FOV (0-180 deg, field of View).
zoomfloatRead/WriteCamera zoom (positive value in percentage).
as_i_presentation_componentIPresentationComponentReadAllows to get base IPresentationComponent interface.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
set_rotation(latitude, longitude, revolution)Sets the rotation value.
get_rotation()list[float]Returns the rotation.

See Also