Class ImageSaveOptions
Options for saving image.
public class ImageSaveOptions : SaveOptions
Inheritance
object ← SaveOptions ← ImageSaveOptions
Inherited Members
- SaveOptions.OutputFile,
- SaveOptions.OutputStream,
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
ImageSaveOptions()
public ImageSaveOptions()
Properties
HorizontalResolution
Gets or sets the horizontal resolution for generated images, in dots per inch.
public int HorizontalResolution { get; set; }
Property Value
Remarks
The default value is 96.
Setting Sheetize.ImageSaveOptions.HorizontalResolution and Sheetize.ImageSaveOptions.VerticalResolution effects the width and height of the output image in pixels.
ImageType
Gets or sets the format of the generated images. Default value is Sheetize.ImageType.Png.
public ImageType ImageType { get; set; }
Property Value
OnePagePerSheet
If OnePagePerSheet is true, all content of one sheet will output to only one page in result. The paper size defined by PageSetup will be ignored, but other settings of PageSetup still takes effect.
public bool OnePagePerSheet { get; set; }
Property Value
VerticalResolution
Gets or sets the vertical resolution for generated images, in dots per inch.
public int VerticalResolution { get; set; }
Property Value
Remarks
The default value is 96.
Setting Sheetize.ImageSaveOptions.HorizontalResolution and Sheetize.ImageSaveOptions.VerticalResolution effects the width and height of the output image in pixels.
Namespace: Sheetize Assembly: Sheetize.dll