SpreadJS Documentation
Data Enumerations

This table lists the enumerations for GrapeCity.Windows.SpreadSheet.Data.ExcelFileFormat.

Enumeration Description
ExcelFileFormat Specifies the type of Excel workbook.
XLS Uses BIFF (Binary Interchange File Format, which is well known as the default file format for Microsoft Office Excel 97-2003). The default file extension is .XLS.
XLSX Uses OpenXML (Office Open XML, which is well known as the default file format for Microsoft Office Excel 2007). The default file extension is XLSX.

This table lists the enumerations for GrapeCity.Windows.SpreadSheet.Data.DestinationType.

Enumeration Description
DestinationType Specifies the destination types for internal and external links.
Auto Sets the type to automatic.
FitPage Fits the page.
FitWidth Fits the width of the page.
FitHeight Fits the height of the page.
FitBox Fits the box of the page.

This table lists members of the GrapeCity.Windows.SpreadSheet.Data.PrintPreset class.

Class Description
PrintPreset Represents the printer settings for the PDF viewer.

 

Method Description
PrintPreset() Represents the printer settings for the PDF viewer.

 

Property Description Property Value Description
public PrintScalingType ScalingType { get; set; } Gets or sets the type of scaling for the PDF print viewer settings. value The type of scaling. The default value is PrintScalingType.AppDefault.
public DuplexMode DuplexMode { get; set; } Gets or sets the duplex mode for the PDF print viewer settings. value The duplex mode. The default value is Default.
public bool IsPageSourceByPageSize { get; set; } Gets or sets a value that indicates whether to set the paper source based on the PDF page size. value True if the paper source is determined by page size; otherwise, false. The default value is false.
public int NumberOfCopies { get; set; } Gets or sets the number of copies for the PDF print viewer settings. value The number of copies. The default value is 1.
public List<PrintRange> PrintRanges { get; } Gets the page ranges to print for the PDF print viewer settings. value The print ranges. The default value is never null.

 This table lists the method for the PrintRange class.

Method Description
public PrintRange(ushort index, ushort count) Represents a preset print range.
Parameters  
index The index (zero-based).
count The count.

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.