Parameters
- hStg
The handle returned by LlStgsysStorageOpen
Return Value
| Value | Meaning |
| >0 |
Number of pages |
| <0 |
error code |
The handle returned by LlStgsysStorageOpen
Returns the number of pages in the current job.
You should avoid calling this API directly. The PreviewFile Class offers you a much more powerful way to work with preview files.
The handle returned by LlStgsysStorageOpen
| Value | Meaning |
| >0 |
Number of pages |
| <0 |
error code |
The page numbers (the numbers that can be written on the paper!) can be asked by calling LlStgsysGetPageOptionValue with the parameter LS_OPTION_PAGENUMBER.
Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10