Saturday 4 March 2017

Viewing Code in Landscape Mode in Microsoft Word

Code in Word often looks better in Landscape mode rather than Portrait mode when rendered in Word.

To change a document to Landscape, click on "Layout" (or "Page Layout" in some versions of Word), find Orientation and switch to Landscape.

Manipulating Code in Microsoft Word

Manipulating Visual Studio code in Microsoft Word can be a messy affair.

For example, System.Text is not a recognized word in Word's dictionary.

An Error(argument) function might be corrected to Error ( argument ) by the Grammar Check.

So if you are manipulating code in Microsoft Word, here's the best thing to do. Turn off automatic spelling AND grammar checking as you type.

To do this, go to File, Options, Proofing and uncheck:

  • Check spelling as you type
  • Mark grammar errors as you type
Job done.