OpcPackage — Aspose.Slides FOSS C# (.NET) API Reference

OpcPackage — OpcPackage API type.

Package: Aspose.Slides.Foss


Properties

PropertyTypeAccessDescription
SourcePathstring?Read/Write

Methods

MethodReturnsDescription
Open(string path)voidIf the file does not exist.
Open(Stream stream)voidA loaded instance.
CreateNew()voidA new empty instance.
Save(string path)voidDestination file path.
Save(Stream stream)voidDestination writable stream.
GetPart(string partName)voidPart content as a byte array, or null if the part does not exist.
SetPart(string partName, byte[] content)voidPart content as bytes.
SetPart(string partName, string content)voidPart content as a string.
HasPart(string partName)voidtrue if the part exists; otherwise, false.
DeletePart(string partName)voidtrue if the part was deleted; false if it did not exist.
GetPartNames()voidA list of part paths.
Close()void

See Also