Presentation class
Contents
[
Hide
]Presentation class
Represents a Microsoft PowerPoint presentation.
The Presentation type exposes the following members:
Constructors
Constructor | Description |
---|---|
__init__ | This constructor creates new presentation from scratch. Created presentation has one empty slide. |
__init__ | This constructor creates new presentation from scratch. Created presentation has one empty slide. |
__init__ | This constructor is the primary mechanism for reading an existing Presentation. |
__init__ | This constructor is the primary mechanism for reading an existing Presentation. |
__init__ | This constructor gets a source file path from which the contents of the Presentation are read. |
__init__ | This constructor gets a source file path from which the contents of the Presentation are read. |
Properties
Property | Description |
---|---|
current_date_time | Returns or sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read/write System.DateTime. |
header_footer_manager | Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager . |
protection_manager | Gets manager of the permissions for this presentation. Read-only IProtectionManager . |
slides | Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection . |
sections | Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection . |
slide_size | Returns slide size object. Read-only ISlideSize . |
notes_size | Returns notes slide size object. Read-only INotesSize . |
layout_slides | Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection . |
masters | Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection . |
master_notes_slide_manager | Returns notes master manager. Read-only IMasterNotesSlideManager . |
master_handout_slide_manager | Returns handout master manager. Read-only IMasterHandoutSlideManager . |
fonts_manager | Returns fonts manager. Read-only IFontsManager . |
default_text_style | Returns default text style for shapes. Read-only ITextStyle . |
comment_authors | Returns the collection of comments autors. Read-only ICommentAuthorCollection . |
document_properties | Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties . |
images | Returns the collection of all images in the presentation. Read-only IImageCollection . |
audios | Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection . |
videos | Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection . |
slide_show_settings | Returns the slide show settings for the presentation. |
digital_signatures | Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection . |
custom_data | Returns the presentation’s custom data. Read-only ICustomData . |
all_custom_xml_parts | Returns all custom data parts in the presentaion. Read-only ICustomXmlPart []. |
vba_project | Gets or sets VBA project with presentation macros. Read/write IVbaProject . |
hyperlink_queries | Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries . |
view_properties | Gets presentation wide view properties. Read-only IViewProperties . |
first_slide_number | Represents the first slide number in the presentation |
source_format | Returns information about from which format presentation was loaded. Read-only SourceFormat . |
master_theme | Returns master theme. Read-only IMasterTheme . |
presentation |
Methods
Method | Description |
---|---|
save | Saves all slides of a presentation to a file with the specified format. |
save | Saves all slides of a presentation to a stream in the specified format. |
save | |
save | Saves all slides of a presentation to a stream in the specified format and with additional options. |
save | Saves all slides of a presentation to a set of files representing XAML markup. |
save | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
save | Saves specified slides of a presentation to a file with the specified format with page number keeping. |
save | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
save | Saves specified slides of a presentation to a stream in the specified format with page number keeping. |
get_thumbnails | Returns a Thumbnail Bitmap objects for all slides of a presentation. |
get_thumbnails | Returns a Thumbnail Bitmap objects for specified slides of a presentation. |
get_thumbnails | Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling. |
get_thumbnails | Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling. |
get_thumbnails | Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size. |
get_thumbnails | Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size. |
get_images | Returns a Image objects for all slides of a presentation. |
get_images | Returns a Thumbnail Image objects for specified slides of a presentation. |
get_images | Returns a Thumbnail Image objects for all slides of a presentation with custom scaling. |
get_images | Returns a Thumbnail Image objects for specified slides of a presentation with custom scaling. |
get_images | Returns a Thumbnail Image objects for all slides of a presentation with specified size. |
get_images | Returns a Thumbnail Image objects for specified slides of a presentation with specified size. |
print | Prints the whole presentation to the default printer. |
print | Prints the presentation according to the specified printer settings, using the standard (no User Interface) print controller. |
print | Print the whole presentation to the specified printer, using the standard (no User Interface) print controller. |
print | Prints the document according to the specified printer settings, using the standard (no User Interface) print controller and a presentation name. |
highlight_text | Highlights all matches of the sample text with the specified color. |
highlight_text | Highlights all matches of the sample text with the specified color. |
get_slide_by_id | Returns a Slide, MasterSlide or LayoutSlide by Id. |
join_portions_with_same_formatting | Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides. |
highlight_regex | Highlights all matches of the regular expression with the specified color. |
replace_text | Replaces all occurrences of the specified text with another specified text. |
replace_regex | Replaces all matches of the regular expression with the specified string. |
See Also
- module
aspose.slides
- library
Aspose.Slides