• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ImageSaveOptions

Options used when rendering document pages to raster images.

Inheritance
object
SaveOptions
ImageSaveOptions
Inherited Members
SaveOptions.ProgressCallback
SaveOptions.InterruptionToken
SaveOptions.CancellationToken
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class ImageSaveOptions : SaveOptions

Constructors

ImageSaveOptions()

Initializes a new instance of the ImageSaveOptions class.

Declaration
public ImageSaveOptions()

ImageSaveOptions(ImageSaveFormat)

Initializes a new instance with the specified image format.

Declaration
public ImageSaveOptions(ImageSaveFormat format)
Parameters
Type Name Description
ImageSaveFormat format

The format used for rendered images.

Properties

CropToContent

Gets or sets whether the rendered page is cropped to its content.

Declaration
public bool CropToContent { get; set; }
Property Value
Type Description
bool

DpiX

Gets or sets the horizontal rendering resolution in DPI.

Declaration
public double DpiX { get; set; }
Property Value
Type Description
double

DpiY

Gets or sets the vertical rendering resolution in DPI.

Declaration
public double DpiY { get; set; }
Property Value
Type Description
double

Format

Gets or sets the image format.

Declaration
public ImageSaveFormat Format { get; set; }
Property Value
Type Description
ImageSaveFormat

Height

Gets or sets an optional output height in pixels.

Declaration
public int? Height { get; set; }
Property Value
Type Description
int?

PageCount

Gets or sets the number of pages to render. A value less than or equal to zero renders all remaining pages.

Declaration
public int PageCount { get; set; }
Property Value
Type Description
int

PageIndex

Gets or sets the zero-based first page to render.

Declaration
public int PageIndex { get; set; }
Property Value
Type Description
int

Width

Gets or sets an optional output width in pixels.

Declaration
public int? Width { get; set; }
Property Value
Type Description
int?
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX