combit List & Label 24 - .NET Online Web Help
LlPrintEnableObject(String,Boolean) Method


combit.ListLabel24 Namespace > LlCore Class > LlPrintEnableObject Method : LlPrintEnableObject(String,Boolean) Method

Object name, see remarks

If false, the object will be ignored

Enables the object to be printed or disables it in order to tell List & Label to ignore it.

Syntax
'Declaration
 
Public Overloads Sub LlPrintEnableObject( _
   ByVal objectName As String, _
   ByVal enable As Boolean _
) 
public void LlPrintEnableObject( 
   string objectName,
   bool enable
)
public:
void LlPrintEnableObject( 
   String^ objectName,
   bool enable
) 

Parameters

objectName

Object name, see remarks

enable

If false, the object will be ignored

Remarks

The object name can be "" (thus empty) to address all objects, otherwise it has to be the name of the object entered by the user preceded by an ":".

If the user can change objects and object names in the Designer, it is important to query the return value to be able to test if the object exists at all!

The function is very important for filling multiple independent tables. Before LlPrint() all tables have to be enabled.

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

LlCore Class
LlCore Members
Overload List