RootDirectoryClsid

IPptOptions.RootDirectoryClsid property

Represents the object class GUID (CLSID) that is stored in the root directory entry. Can be used for COM activation of the document’s application. The default value is ‘64818D11-4F9B-11CF-86EA-00AA00B929E8’ that corresponds to ‘Microsoft Powerpoint.Slide.8’.

public Guid RootDirectoryClsid { get; set; }

Examples

[C#]
using (Presentation pres = new Presentation())
{
    PptOptions pptOptions = new PptOptions();
    
    /// set CLSID to 'Microsoft Powerpoint.Show.8'
    pptOptions.RootDirectoryClsid = new Guid("64818D10-4F9B-11CF-86EA-00AA00B929E8");
    
    pres.Save("pres.ppt", SaveFormat.Ppt, pptOptions);
}

See Also