Skip to content

Closing a presentation document ? #2

Closed
@richardschoen

Description

@richardschoen

There is no Close method to free up Presentation object. Even setting to null I get this error when I open a 2nd presentation.

Get following error when trying to add a new slide to 2nd instantiation:

Error in Operation Initializing slide at FileFormat.Words: Only one instance of the type is allowed for this parent. 
 Inner Exception: Cannot access part because parent package was closed. occurred while creating document c:\rjstemp\sample.pptx

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions