Render Project to Multipage TIFF

[ Hide Show ]

Aspose.Tasks for .NET lets you render Gantt chart to multipage TIFFs. The SaveFileFormat enumeration contains the available output options, including TIFF. The project can be rendered to TIFF with or without compression; supported compression schemes are RLE, CCITT3, CCITT4 and LZW.

Rendering to Multipage TIFF

The following code sample:

  1. Reads a project file.
  2. Sets the output file format.
  3. Applies compression and saves an image to disk.
  4. Removes compression and saves an image to disk.
 1Project project = new Project("New Project.mpp");
 3// Save the project to TIFF
 4project.Save("RenderMultipageTIFF_out.tif", SaveFileFormat.TIFF);
 6// Save the project with CCITT4 compression
 7ImageSaveOptions options = new ImageSaveOptions(SaveFileFormat.TIFF);
 8options.TiffCompression = TiffCompression.Ccitt4;
 9project.Save("RenderMultipageTIFF_options_out.tif", (SaveOptions)options);
11// Remove the compression
12options.TiffCompression = TiffCompression.None;
13project.Save("RenderMultipageTIFF_comp_none_out.tif", (SaveOptions)options);
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.