Program with the SPDocumentLibrary class.
Access documents as SPListItem and SPFile objects.
Configure document libraries with custom document templates.
Work with InfoPath and forms libraries.
Generate documents with the Office Open XML file formats.
This book has already touched on several examples of developing and programming with documents and document libraries. At the end of Chapter 2, we showed you an example of adding a custom ECB menu item for documents in a document library that redirects the user to a custom application page that examines various properties of the current document. Chapter 3, provided examples of programming against SPFile and SPFolder objects. Although the