combit List & Label 30 - .NET Help
combit.Reporting Namespace / LlCore Class / LlStgsysGetPageOptionValue Method

The handle returned by LlStgsysStorageOpen

Page index (1..LlStgsysGetPageCount)

Chooses the meaning of the return value. See LlStgsysOption



LlStgsysGetPageOptionValue Method

Returns page-dependent information. 

You should avoid calling this API directly. The PreviewFile Class offers you a much more powerful way to work with preview files.

Syntax
'Declaration
 
Public Shared Function LlStgsysGetPageOptionValue( _
   ByVal hStg As IntPtr, _
   ByVal pageIndex As Integer, _
   ByVal option As LlStgsysOption _
) As Integer
 

Parameters

hStg

The handle returned by LlStgsysStorageOpen

pageIndex

Page index (1..LlStgsysGetPageCount)

option

Chooses the meaning of the return value. See LlStgsysOption

Remarks

"Printer" or "original printer" means the printer that has been chosen during creation time of the preview file. These values are invaluable if you want to create an own preview and print management, especially if the destination printers are different from the original. To get the correct value, set the job with LlStgsysSetJob before calling this API function.

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also