combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlPrintAbort Method


In This Topic
    LlPrintAbort Method
    In This Topic

    Aborts the print (an incomplete page stays incomplete or may not be printed).

    Syntax
    'Declaration
     
    
    Public Sub LlPrintAbort() 
    public void LlPrintAbort()
    public:
    void LlPrintAbort(); 
    Remarks

    Is necessary to abort the print through the program if LlPrintWithBoxStart() is not used and print abortion is necessary. The difference to the .normal. end, i.e. no longer having to call LlPrint() or LlPrintFields() is that data which are still in the printer driver are discarded so that the print may be ended halfway through a page. The LlPrint...() calls following this call will return LL_USER_ABORTED, so your print loop will be ended automatically.

    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