下表例举了 GrapeCity.Windows.SpreadSheet.Data.ExcelFileFormat 枚举。
枚举 | 描述 |
ExcelFileFormat | 指定了 Excel 工作簿的类型 |
XLS | 使用 BIFF (Binary Interchange File Format, 一般用于 Microsoft Office Excel 97-2003 的文件格式). 后缀名为 .XLS. |
XLSX | 使用 OpenXML (Office Open XML, 一般用于 Microsoft Office Excel 2007 的文件格式). 默认后缀名为 .XLSX. |
下表例举了 GrapeCity.Windows.SpreadSheet.Data.DestinationType 枚举。
枚举 | 描述 |
DestinationType | 设置了目标类型。. |
Auto | 将目标类型设置为自动 |
FitPage | 自适应页面 |
FitWidth | 适应页面的宽度 |
FitHeight | 适应页面的高度 |
FitBox | 适应页面的盒子。 |
下表列举了 GrapeCity.Windows.SpreadSheet.Data.PrintPreset 类.
类 | 描述 |
PrintPreset | 表示了 PDF 查看器打印设置 |
方法 | 描述 |
PrintPreset() | 表示了 PDF 查看器打印设置 |
属性 | 描述 | 属性值 | 描述 |
public PrintScalingType ScalingType { get; set; } | PDF 查看器的缩放设置 | value | 默认值为 PrintScalingType.AppDefault. |
public DuplexMode DuplexMode { get; set; } | PDF 查看器多面打印相关的设置。 | value | 默认值为 Default. |
public bool IsPageSourceByPageSize { get; set; } | 设置纸张大小是否决定页面大小。 | value | 默认值为 false. |
public int NumberOfCopies { get; set; } | 设置打印份数 | value | 打印份数,默认值为 1. |
public List<PrintRange> PrintRanges { get; } | 设置打印范围 | value | 打印范围,默认值为 null。 |
This table lists the method for the PrintRange class.
方法 | 描述 |
public PrintRange(ushort index, ushort count) | 表示了打印范围 |
参数 | |
index | 起始页码(从 0 开始) |
count | 打印页数 |