/// <summary> /// Set options for the scan job. /// </summary> /// <param name="scanOptionsManager">The JetAdvantageLinkPrintOptionManager.</param> /// <param name="scanOptions">The Clio Options.</param> /// <returns>The result of the scan.</returns> protected override void SetOptions(JetAdvantageLinkScanOptionManager scanOptionsManager, LinkScanOptions scanOptions) { UpdateStatus($"Set the options screen"); scanOptionsManager.SetOptionsScreen(); UpdateStatus($"Select option activity with File Type {scanOptions.FileType.GetDescription()}, Resolution {scanOptions.Resolution.GetDescription()} is being started"); scanOptionsManager.SetFileTypeAndResolution(scanOptions.FileType, scanOptions.Resolution); UpdateStatus($"Select option activity with File Type {scanOptions.FileType.GetDescription()}, Resolution {scanOptions.Resolution.GetDescription()} is being completed"); UpdateStatus($"Select option activity with Original Sides {scanOptions.OriginalSides.GetDescription()} is being started"); scanOptionsManager.SetOriginalSides(scanOptions.OriginalSides); UpdateStatus($"Select option activity with Original Sides {scanOptions.OriginalSides.GetDescription()} is being completed"); UpdateStatus($"Select option activity with Color/Black {scanOptions.ColorBlack.GetDescription()} is being started"); scanOptionsManager.SetColorBlack(scanOptions.ColorBlack); UpdateStatus($"Select option activity with Color/Black {scanOptions.ColorBlack.GetDescription()} is being completed"); UpdateStatus($"Select option activity with Original Size {scanOptions.OriginalSize.GetDescription()} is being started"); scanOptionsManager.SetOriginalSize(scanOptions.OriginalSize); UpdateStatus($"Select option activity with Original Size {scanOptions.OriginalSize.GetDescription()} is being completed"); UpdateStatus($"Select option activity with ContentOrientation {scanOptions.ContentOrientation.GetDescription()} is being started"); scanOptionsManager.SetOrientation(scanOptions.ContentOrientation); UpdateStatus($"Select option activity with ContentOrientation {scanOptions.ContentOrientation.GetDescription()} is being completed"); }
/// <summary> /// Set options for the scan job. /// </summary> /// <param name="scanOptionsManager">The JetAdvantageLinkScanOptionManager.</param> /// <param name="scanOptions">The LinkScanOptions.</param> /// <returns>The result of the scan.</returns> protected override void SetOptions(JetAdvantageLinkScanOptionManager scanOptionsManager, LinkScanOptions scanOptions) { UpdateStatus($"Select option activity with File Name {FilePrefix.ToString().ToLowerInvariant()} is being started"); scanOptionsManager.SetFileName(FilePrefix.ToString().ToLowerInvariant(), "et_filename"); UpdateStatus($"Select option activity with File Name {FilePrefix.ToString().ToLowerInvariant()} is being completed"); UpdateStatus($"Set the options screen"); scanOptionsManager.SetOptionsScreen(); if (scanOptions.UseFileTypeandResolution) { UpdateStatus($"Select option activity with File Type {scanOptions.FileType.GetDescription()}, Resolution {scanOptions.Resolution.GetDescription()} is being started"); scanOptionsManager.SetFileTypeAndResolution(scanOptions.FileType, scanOptions.Resolution); UpdateStatus($"Select option activity with File Type {scanOptions.FileType.GetDescription()}, Resolution {scanOptions.Resolution.GetDescription()} is being completed"); } if (scanOptions.UseOriginalSides) { UpdateStatus($"Select option activity with Original Sides {scanOptions.OriginalSides.GetDescription()} is being started"); scanOptionsManager.SetOriginalSides(scanOptions.OriginalSides); UpdateStatus($"Select option activity with Original Sides {scanOptions.OriginalSides.GetDescription()} is being completed"); } if (scanOptions.UseColorBlack) { UpdateStatus($"Select option activity with Color/Black {scanOptions.ColorBlack.GetDescription()} is being started"); scanOptionsManager.SetColorBlack(scanOptions.ColorBlack); UpdateStatus($"Select option activity with Color/Black {scanOptions.ColorBlack.GetDescription()} is being completed"); } if (scanOptions.UseOriginalSize) { UpdateStatus($"Select option activity with Original Size {scanOptions.OriginalSize.GetDescription()} is being started"); scanOptionsManager.SetOriginalSize(scanOptions.OriginalSize); UpdateStatus($"Select option activity with Original Size {scanOptions.OriginalSize.GetDescription()} is being completed"); } if (scanOptions.UseContentOrientation) { UpdateStatus($"Select option activity with ContentOrientation {scanOptions.ContentOrientation.GetDescription()} is being started"); scanOptionsManager.SetOrientation(scanOptions.ContentOrientation); UpdateStatus($"Select option activity with ContentOrientation {scanOptions.ContentOrientation.GetDescription()} is being completed"); } }