combit List & Label 25 - .NET Online Web Help
LlStgsysGetPageOptionValue Method


combit.ListLabel25 Namespace > LlCore Class : LlStgsysGetPageOptionValue Method

The handle returned by LlStgsysStorageOpen

Page index (1..LlStgsysGetPageCount)

Chooses the meaning of the return value. See LlStgsysOption

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

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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

LlCore Class
LlCore Members