VSTO 3.0 for Office 2007 Programming
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Zack used the AfterNewPresentation event and developed a solution for it".

A block of code will be set as follows:

private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
// Creating PowerPoint presentation with single slide in it
// Using the PowerPoint object instance adding the
// Slide with text title structure to the current Presentation
PowerPoint.Presentation PacktPresentation = this.Application. Presentations.Add(Microsoft.Office.Core.MsoTriState. msoTriStateMixed);
}

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "As it can be seen in the following screenshot, Say Hello World is displayed in a message box:".

Note

Warnings or important notes appear in a box like this.

Note

Tips and tricks appear like this.