---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/DocumentProperties
---

# DocumentProperties

## Overview

`DocumentProperties` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IDocumentProperties`.

Represents properties of a presentation.

This class provides 7 methods for working with DocumentProperties objects in Python programs.
Available methods include: `clear_built_in_properties`, `clear_custom_properties`, `contains_custom_property`, `get_custom_property_name`, `get_custom_property_value`, `remove_custom_property`, `set_custom_property_value`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `app_version`, `application_template`, `author`, `category`, `comments`, `company`, and 28 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `title` | `str` | Read/Write | Returns or sets the title of a presentation. |
| `subject` | `str` | Read/Write | Returns or sets the subject of a presentation. |
| `author` | `str` | Read/Write | Returns or sets the author of a presentation. |
| `keywords` | `str` | Read/Write | Returns or sets the keywords of a presentation. |
| `comments` | `str` | Read/Write | Returns or sets the comments of a presentation. |
| `category` | `str` | Read/Write | Returns or sets the category of a presentation. |
| `content_status` | `str` | Read/Write | Returns or sets the content status of a presentation. |
| `content_type` | `str` | Read/Write | Returns or sets the content type of a presentation. |
| `last_saved_by` | `str` | Read/Write | Returns or sets the name of a last person who modified a presentation. |
| `revision_number` | `int` | Read/Write | Returns or sets the presentation revision number. |
| `created_time` | `Any` | Read/Write | Returns the date a presentation was created. |
| `last_saved_time` | `Any` | Read/Write | Returns the date a presentation was last modified. |
| `last_printed` | `Any` | Read/Write | Returns the date when a presentation was printed last time. |
| `app_version` | `str` | Read | Returns the app version. |
| `name_of_application` | `str` | Read/Write | Returns or sets the name of the application. |
| `company` | `str` | Read/Write | Returns or sets the company property. |
| `manager` | `str` | Read/Write | Returns or sets the manager property. |
| `presentation_format` | `str` | Read/Write | Returns or sets the intended format of a presentation. |
| `application_template` | `str` | Read/Write | Returns or sets the template of a application. |
| `hyperlink_base` | `str` | Read/Write | Returns or sets the HyperlinkBase document property. |
| `total_editing_time` | `timedelta` | Read/Write | Total editing time of a presentation. |
| `shared_doc` | `bool` | Read/Write | Determines whether the presentation is shared between multiple people. |
| `scale_crop` | `bool` | Read/Write | Indicates the display mode of the document thumbnail. |
| `links_up_to_date` | `bool` | Read/Write | Indicates whether hyperlinks in a document are up-to-date. |
| `hyperlinks_changed` | `bool` | Read/Write | Specifies that one or more hyperlinks in this part were updated exclusively in this part by a producer. |
| `slides` | `int` | Read | Returns the total number of slides in a presentation document. |
| `hidden_slides` | `int` | Read | Returns the number of hidden slides in a presentation document. |
| `notes` | `int` | Read | Returns the number of slides in a presentation containing notes. |
| `paragraphs` | `int` | Read | Returns the total number of paragraphs found in a document if applicable. |
| `words` | `int` | Read | Returns the total number of words contained in a document. |
| `multimedia_clips` | `int` | Read | Returns the total number of sound or video clips that are present in the document. |
| `heading_pairs` | `list[IHeadingPair]` | Read | Indicates the grouping of document parts and the number of parts in each group. |
| `titles_of_parts` | `list[str]` | Read | Specifies the title of each document part. |
| `count_of_custom_properties` | `int` | Read | Returns the number of custom properties actually contained in a collection. |

## Methods

| Signature | Description |
|-----------|-------------|
| `get_custom_property_value()` | Get a custom property value by name. |
| `set_custom_property_value()` | Set a custom property value by name. |
| `get_custom_property_name(index)` → `str` | Returns the custom property name at the specified index |
| `remove_custom_property(name)` → `bool` | Deletes the custom property with the given name and returns success |
| `contains_custom_property(name)` → `bool` | Checks if a custom property with the given name exists |
| `clear_custom_properties()` | Removes all custom properties from the document |
| `clear_built_in_properties()` | Clears all built‑in document properties |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)