combit List & Label 24 - .NET Online Web Help
LlPreviewDisplayEx Method


combit.ListLabel24 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 "".

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 _
) 
public void LlPreviewDisplayEx( 
   string projectFile,
   string path,
   IntPtr windowHandle,
   int nOptions,
   IntPtr pOptions
)
public:
void LlPreviewDisplayEx( 
   String^ projectFile,
   String^ path,
   IntPtr windowHandle,
   int nOptions,
   IntPtr pOptions
) 

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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

LlCore Class
LlCore Members