Tiff is one kind of image format to save photo and art pictures. This format is flexible and adaptable. It can deal with several images and data in one file through “tag” in file header. Tag can indicate size of image and define how to arrange image data.

Actually, Tiff is the most complicated bitmap file format. One tiff image can occupy large space because it saves lots of contents. At present, it is widely applied to saving and changing images which has high picture quality.

Sometimes, we may convert our Word documents to Tiff image for preventing others from editing. Also, the Tiff image can help us show contents more clearly. However, how to convert Word to Tiff?

In MS Word 2003, we can use MS office Document Image Write in Print on File menu. Right click Property of it and then choose the MDI-Compression File Format as Tiff in Advanced tab. After clicking OK, one SaveAs dialog box pops up. Select *.tif or *.tiff. Click Save and we can get the converted file.

Then, I want to introduce another method to convert Word to TIFF with C#. This method is based on a component named Spire.Doc, which is used to operate Word for Silverlight and .NET.

Using the code:

//Create word document

Document document = new Document();

Section section = document.AddSection();

section.PageSetup.PageSize = PageSize.A4;

section.PageSetup.Margins.Top = 72f;

section.PageSetup.Margins.Bottom = 72f;

section.PageSetup.Margins.Left = 89.85f;

section.PageSetup.Margins.Right = 89.85f;

Paragraph paragraph = section.AddParagraph();

paragraph.Format.HorizontalAlignment = Spire.Doc.Documents.HorizontalAlignment.Left;

paragraph.AppendPicture(Image.FromFile("Word.png"));

String p1

    = "Microsoft Word is a word processor designed by Microsoft. "

    + "It was first released in 1983 under the name Multi-Tool Word for Xenix systems. "

    + "Subsequent versions were later written for several other platforms including "

    + "IBM PCs running DOS (1983), the Apple Macintosh (1984), the AT&T Unix PC (1985), "

    + "Atari ST (1986), SCO UNIX, OS/2, and Microsoft Windows (1989). ";

String p2

    = "Microsoft Office Word instead of merely Microsoft Word. "

    + "The 2010 version appears to be branded as Microsoft Word, "

    + "once again. The current versions are Microsoft Word 2010 for Windows and 2008 for Mac.";

section.AddParagraph().AppendText(p1).CharacterFormat.FontSize = 14;

section.AddParagraph().AppendText(p2).CharacterFormat.FontSize = 14;

//Save image file.

Image image = document.SaveToImages(0, ImageType.Bitmap);

image.Save("Sample.tif", ImageFormat.Tiff);