DeleteEmbeddedBinaryObjects
LoadOptions.DeleteEmbeddedBinaryObjects property
Determines if Aspose.Slides will delete all embedded binary objects while presentation loading.
The types of the embedded binary objects:
- VBA Project
VbaProject
- OLE Object embedded data
EmbeddedFileData
- ActiveX Control binary data
ActiveXControlBinary
Read/write Boolean.
public bool DeleteEmbeddedBinaryObjects { get; set; }
Remarks
Default is false.
Examples
The following example shows how to load the presentation without any embedded binary objects.
[C#]
LoadOptions loadOptions = new LoadOptions();
loadOptions.DeleteEmbeddedBinaryObjects = true;
using (Presentation pres = new Presentation("pres.ppt", loadOptions))
{
pres.Save("output_WithoutBinaryObjects.ppt", SaveFormat.Ppt);
}
See Also
- class LoadOptions
- namespace Aspose.Slides
- assembly Aspose.Slides