Which four actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app that prints documents.
You need to ensure that the app enables the user to specify the paper size.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from
the list of actions to the answer area and arrange them in the correct order.)

DRAG DROP
You are developing a Windows Store app that prints documents.
You need to ensure that the app enables the user to specify the paper size.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from
the list of actions to the answer area and arrange them in the correct order.)

Answer: See the explanation.

Explanation:
Box 1:

Box 2:

Box 3:

Box 4:



Leave a Reply 5

Your email address will not be published. Required fields are marked *


ju

ju

FALSE !

private void PrintManager_PrintTaskRequested(PrintManager sender,
PrintTaskRequestedEventArgs args)
{
PrintTask printTask = null;
printTask = args.Request.CreatePrintTask(
“Windows 8 Print Sample”, (sourceRequested) =>
{
printTask.Completed += OnPrintTaskCompleted;
PrintTaskOptionDetails detailedOptions =
PrintTaskOptionDetails.GetFromPrintTaskOptions(printTask.Options);
IList displayedOptions = detailedOptions.DisplayedOptions;
displayedOptions.Clear();
displayedOptions.Add(StandardPrintTaskOptions.Orientation);
displayedOptions.Add(StandardPrintTaskOptions.ColorMode);
displayedOptions.Add(StandardPrintTaskOptions.MediaSize);

j

j

{
PrintManager.GetForCurrentView().PrintTaskRequested += OnPrintTaskRequested;
m_printDocument = new PrintDocument();
m_printDocumentSource = m_printDocument.DocumentSource;
}

void OnPrintTaskRequested(PrintManager sender, PrintTaskRequestedEventArgs args)
{
PrintTask printTask = args.Request.CreatePrintTask(“Print Example”, SourceRequestedHandler);
}

j

j

4, 3, 5

j

j

no.. 431
After you obtain a reference to the detailed options for the current print task by invoking the GetFromPrintTaskOptions static method, you have to get a reference to the
DisplayedOptions property, clear the collection, and add the options you want to display in the preview window one by one (and in the right order).