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

The handle returned by LlStgsysStorageOpen

Chooses the meaning of the return value. See LlStgsysOption



LlStgsysGetJobOptionValue Method

Returns some numerical parameters of 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.

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

Parameters

hStg

The handle returned by LlStgsysStorageOpen

option

Chooses the meaning of the return value. See LlStgsysOption

Remarks

These values are invaluable if you want to create your 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