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

The handle returned by LlStgsysStorageOpen

Chooses the meaning of the return value. See LlStgsysOption



In This Topic
    LlStgsysGetJobOptionValue Method
    In This Topic

    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
    public static int LlStgsysGetJobOptionValue( 
       IntPtr hStg,
       LlStgsysOption option
    )
    public:
    static int LlStgsysGetJobOptionValue( 
       IntPtr hStg,
       LlStgsysOption option
    ) 

    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 7, .NET 8

    See Also