ImageSaveOptions.VerticalResolution

ImageSaveOptions.VerticalResolution property

Gets or sets the vertical resolution in dpi.

public float VerticalResolution { get; set; }

Examples

Shows how to set pixel format which is used during conversion into image formats.

var project = new Project(DataDir + "Project1.mpp");
var options = new ImageSaveOptions(SaveFileFormat.Tiff);
options.HorizontalResolution = 72;
options.VerticalResolution = 72;
options.PixelFormat = PixelFormat.Format24bppRgb;
project.Save(OutDir + "RenderProjectDataToFormat24bppRgb_out.tif", options);

See Also