Camera

Overview

Camera is a class in Aspose.Slides FOSS for Python. Inherits from: PVIObject, ISlideComponent, IPresentationComponent, and 1 more.

Represents Camera.

This class declares 3 methods for Camera objects in Python programs. Available methods include: __setattr__, get_rotation, set_rotation. 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.
__setattr__(name: str, value)Calls setattr(name, value) on this Camera instance.

See Also

 English