You are developing a Windows Store app by using JavaScript. The app will use a custom print template for printing documents. The template will be provided in a file named customTemplate.htm.
The file will be deployed as part of the app package.
The code segment below references two objects:
You need to ensure that the app displays the custom print template while printing the documents.
Which code segment should you insert at line 05?
A. args.setSource(MSApp.getPrintDocumentSource(document, "customTemplate.htm") ) ;
B. args.setSource(MSApp.getPrintDocumentSource(document, "ms-appx://printTemplates/customTemplate.htm"));
C. args.setSource(MSApp.getHtmlPrintDocumentSource(document, "ms-appdata:////customTemplate.htm"));
D. args.setSource(MSApp.getHtmlPrintDocumentSource(document, "ms-appx:////customTemplate.htm”));