combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlPrintEnableObject Method / LlPrintEnableObject(String,Boolean) Method

Object name, see remarks

If false, the object will be ignored



In This Topic
    LlPrintEnableObject(String,Boolean) Method
    In This Topic

    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 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