12-23-2022, 11:52 AM
Use it on any label/image
sdk.getWidget('label_AG').m_scrnshotorientation = "P";
sdk.getWidget( 'label_AG' ).m_loadermessage = "<span style ='color:#000;font-size:32px; font-weight: normal; font-family: BizvizFont''>Export in progress </span><br> <span style = 'color:#000;font-size:16px; font-weight: normal; font-family: BizvizFont; align=center'>Please wait while the PDF is prepared for export </span>";
sdk.getWidget( 'label_AG').m_scrnshotfilename = "Sales Overview";
sdk.getWidget( 'label_AG').setCustomExportPdf([
['box83','datagrid87','map64','image2','image8','image9','image10','image11','image33','image68','image89','image87','image74','label3','label12','label13','label14','label15','label16','label17','label18','label19','label22','label23','label28']
]);
sdk.getWidget('label_AG').m_scrnshotorientation = "P";
sdk.getWidget( 'label_AG' ).m_loadermessage = "<span style ='color:#000;font-size:32px; font-weight: normal; font-family: BizvizFont''>Export in progress </span><br> <span style = 'color:#000;font-size:16px; font-weight: normal; font-family: BizvizFont; align=center'>Please wait while the PDF is prepared for export </span>";
sdk.getWidget( 'label_AG').m_scrnshotfilename = "Sales Overview";
sdk.getWidget( 'label_AG').setCustomExportPdf([
['box83','datagrid87','map64','image2','image8','image9','image10','image11','image33','image68','image89','image87','image74','label3','label12','label13','label14','label15','label16','label17','label18','label19','label22','label23','label28']
]);