Page tree
Skip to end of metadata
Go to start of metadata

下表例举了 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打印页数
  • No labels