Professional Documents
Culture Documents
Solutions 10
Solutions 10
SnpCreateDocument
Solution
Related APIs
IDocument
IDocumentCommands
IPageSetupPrefs
Solution
1. Using IDocStyleListMgr, find the name of the preset style (kDocStyleBoss) on which you want to base
your document.
2. Call IDocumentCommands::New, passing the name of the preset in the syleToUse parameter.
Related APIs
IDocument
IDocumentCommands
Use IDocumentCommands::Open.
Sample Code
SDKLayoutHelper::OpenDocument
Related APIs
IDocumentCommands
IDocument