这些变量访问根据实际文件内容统计的支持文件格式。对于具有不支持的文件格式的工作或对于工作文件夹,值为空。
对于支持的文件形式,请参考脚本文件中对 FileStatistic 类的描述。可在 Enfocus 网站获取脚本文件。
|
变量名称 |
数据类型 |
等效脚本 API |
|---|---|---|
|
Stats.FileFormat |
文本 |
FileStatistics.getFileFormat() |
统计数据组包含 FileStatistics 类支持的附加数据(见支持的统计数据)的附加变量。变量与统计数据具有相同的名称与数据类型(字符串映射到文本对应;字符串列表映射到文本已有索引)。
|
变量名称 |
数据类型 |
支持格式 |
|---|---|---|
|
Stats.NumberOfPages |
整数 |
所有支持的格式 |
|
Stats.SamplesPerPixel |
整数 |
JPEG,TIFF,PNG |
|
Stats.PixelXDimension |
整数 |
JPEG,TIFF,PNG |
|
Stats.PixelYDimension |
整数 |
JPEG,TIFF,PNG |
|
Stats.ColorMode |
整数 |
JPEG,TIFF,PNG |
|
Stats.ColorSpace |
整数 |
JPEG,TIFF,PNG |
|
Stats.ICCProfile |
文本 |
JPEG,TIFF,PNG |
|
Stats.Colorants |
文本已有索引 |
TIFF |
|
Stats.CellWidth |
整数 |
TIFF |
|
Stats.CellLength |
整数 |
TIFF |
|
Stats.TileWidth |
整数 |
TIFF |
|
Stats.TileLength |
整数 |
TIFF |
|
Stats.ColorIntent |
整数 |
PNG |
|
Stats.Version |
文本 |
|
|
Stats.PageWidth |
有理数 |
|
|
Stats.PageHeight |
有理数 |
|
|
Stats.PageLabels |
文本已有索引 |
|
|
Stats.Colorants |
文本已有索引 |
|
|
Stats.Fonts |
文本已有索引 |
|
|
Stats.SecurityMethod |
文本 |
|
|
Stats.PageBoxesEqual |
布尔 |
|
|
Stats.MediaBoxWidth |
整数 |
|
|
Stats.MediaBoxHeight |
整数 |
|
|
Stats.CropBoxWidth |
整数 |
|
|
Stats.CropBoxHeight |
整数 |
|
|
Stats.BleedBoxWidth |
整数 |
|
|
Stats.BleedBoxHeight |
整数 |
|
|
Stats.TrimBoxWidth |
整数 |
|
|
Stats.TrimBoxHeight |
整数 |
|
|
Stats.ArtBoxWidth |
整数 |
|
|
Stats.ArtBoxHeight |
整数 |
|
|
Stats.PDFXVersionKey |
文本 |
|
|
Stats.ColorSpaceFamilies |
文本已有索引 |
|
|
Stats.TransparentColor |
布尔 |
|
|
Stats.FontTypes |
文本已有索引 |
|