Choose html objects to export to pdf :

Title  
Image  
Industrial Grid  
Text  

Destination PDF Example
AustralTek is a US based company dedicated to developing industry solutions.
Edit this text if you wish :

In this example, the javascript code needed to export some widgets to pdf is:


               var destinationPdf = new DestinationPDF({ 'URL': '../DALService.svc/ExportTo' });

                var titlePDFWidget = new PdfWidget({ 'NameSpace': 'DestinationPDF', 'ClassName': 'HTMLStruct' });
                titlePDFWidget.SetContent({ 'HTMLString': getHtmlString(document.getElementById('atkContainer').innerHTML)
                                            , 'URL': window.location.href });
                destinationPdf.AddPdfWidget(titlePDFWidget);

                var picturePDFWidget = new PdfWidget({ 'NameSpace': 'DestinationPDF', 'ClassName': 'HTMLStruct' });
                picturePDFWidget.SetContent({ 'HTMLString': getHtmlString(document.getElementById('pictureImageContainer').innerHTML)
                                            , 'URL': window.location.href });
                destinationPdf.AddPdfWidget(picturePDFWidget);

                if (document.getElementById('IGCheck').checked == true) {
                    var tablePDFWidget = new PdfWidget({ 'ClassName': 'IndustrialGrid' });
                    tablePDFWidget.SetContent({ 'HTMLString': getHtmlString(document.getElementById('pIG').innerHTML)
                                                , 'URL': window.location.href, 'Width': 500, 'Height': 400 });
                    destinationPdf.AddPdfWidget(tablePDFWidget);
                }

                var pdfWidget = new PdfWidget({ 'NameSpace': 'DestinationPDF', 'ClassName': 'HTMLText' });
                pdfWidget.SetContent({ 'value': document.getElementById('textPDF').value });
                destinationPdf.AddPdfWidget(pdfWidget);

                destinationPdf.SendData();