public void SaveToImageResolution()
{
//ExStart
//ExFor:ImageSaveOptions
//ExFor:ImageSaveOptions.Resolution
//ExSummary:Renders a page of a Word document into a PNG image at a specific resolution.
Document doc = new Document(MyDir + "Rendering.doc");
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.Png);
options.Resolution = 300;
options.PageCount = 1;
doc.Save(MyDir + @"\Artifacts\Rendering.SaveToImageResolution.png", options);
//ExEnd
}