Presentation
Overview
Presentation là một lớp trong Aspose.Slides FOSS cho .NET. Dòng thừa kế từ: IPresentation, IDisposable.
Hiển thị một tài liệu trình bày của Microsoft PowerPoint.
Khóa học này cung cấp 16 phương pháp để làm việc với các đối tượng trình bày trong các chương trình .NET. Các phương pháp có sẵn bao gồm: Dispose, Presentation, Save. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng .NET nào sau khi cài đặt Aspose.Slides FOSS cho gói .Net. Tài sản : AsIPresentationComponent, CommentAuthors, CurrentDateTime, DocumentProperties, FirstSlideNumber, Images,Và 7 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
CurrentDateTime | DateTime | Đọc / viết | Nhận hoặc đặt thời gian ngày hiện tại. |
Slides | ISlideCollection | Read | Gửi các slides. |
NotesSize | INotesSize | Read | Nhận kích thước ghi chú. |
LayoutSlides | IGlobalLayoutSlideCollection | Read | Gửi các slides layout. |
Masters | IMasterSlideCollection | Read | Nhận được các bậc thầy. |
Sections | ISectionCollection | Read | Nhận các phần. |
CommentAuthors | ICommentAuthorCollection | Read | Nhận các tác giả bình luận. |
DocumentProperties | IDocumentProperties | Read | Nhận tài liệu thuộc tính. |
Images | IImageCollection | Read | Nhận được hình ảnh. |
SourceFormat | SourceFormat | Read | Nhận định dạng nguồn. |
FirstSlideNumber | int | Đọc / viết | Nhận hoặc đặt số slide đầu tiên. |
AsIPresentationComponent | IPresentationComponent | Read | Nhận được như I trình bày thành phần. |
Presentation | IPresentation? | Read | Nhận được trình bày. |
Methods
| Signature | Description |
|---|---|
Presentation() | Tạo một bản trình bày trống mới từ mẫu PPTX tối thiểu. |
Presentation(loadOptions: ILoadOptions) | Tạo một bản trình bày trống mới với các tùy chọn tải được chỉ định. |
Presentation(stream: Stream) | Tải một bản trình bày từ dòng cụ thể. |
Presentation(stream: Stream, loadOptions: ILoadOptions) | Tải một bản trình bày từ dòng cụ thể với các tùy chọn tải. |
Presentation(file: string) | Tải một bản trình bày từ con đường tệp cụ thể. |
Presentation(file: string, loadOptions: ILoadOptions) | Tải một bản trình bày từ con đường tệp cụ thể với các tùy chọn tải. |
Save(fname: string, format: SaveFormat) | Tiết kiệm cho một tệp bằng cách sử dụng định dạng và các tùy chọn tiết kiệm bổ sung |
Save(stream: Stream, format: SaveFormat) | Call Save (stream, format) trên mẫu trình bày này. |
Save(fname: string, format: SaveFormat, options: ISaveOptions) | Calls Save(còn tên, định dạng, tùy chọn) trên mẫu trình bày này. |
Save(stream: Stream, format: SaveFormat, options: ISaveOptions) | Calls Save(stream, format, options) trên mẫu trình bày này. |
Save(fname: string, slides: int[], format: SaveFormat) | Calls Save(còn tên, slides, format) trên mẫu trình bày này. |
Save(fname: string, slides: int[], format: SaveFormat, options: ISaveOptions) | Calls Save(còn tên, slides, format, tùy chọn) trên mẫu trình bày này. |
Save(stream: Stream, slides: int[], format: SaveFormat) | Calls Save(stream, slides, format) trên mẫu trình bày này. |
Save(stream: Stream, slides: int[], format: SaveFormat, options: ISaveOptions) | Calls Save(stream, slides, format, options) trên mẫu trình bày này. |
Save(options: ISaveOptions) | Call Save(options) trên mẫu trình bày này. |
Dispose() | Tải về các tài nguyên được sử dụng trong trình bày này. |