Document to Page Conversion Object Model (ECM)
Applies to: SharePoint Server 2010
You can automate the conversion process and work with original documents and the pages generated from them by using the following members of the Microsoft.SharePoint.Publishing namespace:
Add Use this method to programmatically generate a publishing page from an original document. The method includes parameters for specifying which converter to use, which document to convert, the full path of the page to create, any XML to pass to the converter as configuration settings, and whether to perform the conversion immediately or as an asynchronous timer job.
UpdateContentFromSourceDocument Use this method to update the content on a publishing page that was previously generated from a source document. This method includes a single parameter that enables developers to specify the priority of the conversion.