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

valid file name with full pathname

valid path for the temporary files ending with a backslash "\".

Window handle of the calling program

Value Meaning

LL_PRVOPT_PRN_USEDEFAULT

preview uses the system's default printer

LL_PRVOPT_PRN_ASKPRINTE

RIFNEEDED

if the printer that is stored in the preview file (that is the printer that has been used for the preview print process) is not found in the current computer's printers, a printer dialog is shown so that the user can select the printer.

LL_PRVOPT_PRN_ASKPRINTERALWAYS

a printer dialog will allow the user to choose his default printer for the preview.

reserved, set to null or "".



LlPreviewDisplayEx Method

Starts the real data preview. Additional options can define the behavior.

Syntax
'Declaration
 
Public Sub LlPreviewDisplayEx( _
   ByVal projectFile As String, _
   ByVal path As String, _
   ByVal windowHandle As IntPtr, _
   ByVal nOptions As Integer, _
   ByVal pOptions As IntPtr _
) 
 

Parameters

projectFile

valid file name with full pathname

path

valid path for the temporary files ending with a backslash "\".

windowHandle

Window handle of the calling program

nOptions
Value Meaning

LL_PRVOPT_PRN_USEDEFAULT

preview uses the system's default printer

LL_PRVOPT_PRN_ASKPRINTE

RIFNEEDED

if the printer that is stored in the preview file (that is the printer that has been used for the preview print process) is not found in the current computer's printers, a printer dialog is shown so that the user can select the printer.

LL_PRVOPT_PRN_ASKPRINTERALWAYS

a printer dialog will allow the user to choose his default printer for the preview.

pOptions

reserved, set to null or "".

Remarks

The real data preview is a window that can be started independent of the designer. If shows the data printed by the preview print process. If lpszPath is empty, the path of the project file is used.

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