Skip to Content
avatar image
Former Member

Print Event SDK using UI Add-on

Hello ,

I would like to catch the event for user press the print button () in a document using ui add-on.

Please advice.

Kind Regards ,

Ifigeneia Koumbarda

button.png (382 B)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 09, 2017 at 10:55 AM

    Hi Ifigeneia,

    Use the printEvent.

    SBO_Application.PrintEvent += SBO_Application_PrintEvent;
    private static void SBO_Application_PrintEvent(ref SAPbouiCOM.PrintEventInfo eventInfo, out bool BubbleEvent)
    {
        BubbleEvent = true;
        SBO_Application.MessageBox("Printing");
    }
    

    Hope it helps.

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded