Table of Contents

Method Save

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Save(string, PdfDrawOptions)

Saves an image of the page to the file with specified name.

public void Save(string fileName, PdfDrawOptions options)

Parameters

fileName string

Name of the file to save an image of the page to.

options PdfDrawOptions

The options to use while creating the image.

Remarks

To know how to convert PDF pages to images, read the Convert PDF to image in C# and VB.NET and Convert PDF to JPG in .NET articles.

Save(Stream, PdfDrawOptions)

Saves an image of the page to the specified stream.

public void Save(Stream stream, PdfDrawOptions options)

Parameters

stream Stream

The stream to save an image of the page to.

options PdfDrawOptions

The options to use while creating the image.

Remarks

To know how to convert PDF pages to images, read the Convert PDF to image in C# and VB.NET and Convert PDF to JPG in .NET articles.