These variables access statistics derived from the actual file contents for a number of supported file formats. The values are empty for a job in an unsupported file format and for a job folder.
Please refer to FileStatistics class for a list of supported file formats.
Variable name |
Data type |
Scripting API equivalent |
---|---|---|
Stats.FileFormat |
Text |
FileStatistics.getFileFormat() |
The Stats group includes an additional variable for each additional statistic supported by the FileStatistics class (see Supported statistics). The variable has the same name and data type as the statistic (where string maps to Text and string list maps to Text Indexed).
Variable name |
Data type |
Supported for |
---|---|---|
Stats.NumberOfPages |
Integer |
All supported formats |
Stats.SamplesPerPixel |
Integer |
JPEG, TIFF, PNG |
Stats.PixelXDimension |
Integer |
JPEG, TIFF, PNG |
Stats.PixelYDimension |
Integer |
JPEG, TIFF, PNG |
Stats.ColorMode |
Integer |
JPEG, TIFF, PNG |
Stats.ColorSpace |
Integer |
JPEG, TIFF, PNG |
Stats.ICCProfile |
Text |
JPEG, TIFF, PNG |
Stats.Colorants |
Text Indexed |
TIFF |
Stats.CellWidth |
Integer |
TIFF |
Stats.CellLength |
Integer |
TIFF |
Stats.TileWidth |
Integer |
TIFF |
Stats.TileLength |
Integer |
TIFF |
Stats.ColorIntent |
Integer |
PNG |
Stats.Version |
Text |
|
Stats.PageWidth |
Rational |
|
Stats.PageHeight |
Rational |
|
Stats.PageLabels |
Text Indexed |
|
Stats.Colorants |
Text Indexed |
|
Stats.Fonts |
Text Indexed |
|
Stats.SecurityMethod |
Text |
|
Stats.PageBoxesEqual |
Boolean |
|
Stats.MediaBoxWidth |
Integer |
|
Stats.MediaBoxHeight |
Integer |
|
Stats.CropBoxWidth |
Integer |
|
Stats.CropBoxHeight |
Integer |
|
Stats.BleedBoxWidth |
Integer |
|
Stats.BleedBoxHeight |
Integer |
|
Stats.TrimBoxWidth |
Integer |
|
Stats.TrimBoxHeight |
Integer |
|
Stats.ArtBoxWidth |
Integer |
|
Stats.ArtBoxHeight |
Integer |
|
Stats.PDFXVersionKey |
Text |
|
Stats.ColorSpaceFamilies |
Text Indexed |
|
Stats.TransparentColor |
Boolean |
|
Stats.FontTypes |
Text Indexed |
|