/// <summary> /// Selects the Optimize text or pitcure for the scanned file /// </summary> /// <param name="optimizeTextOrPicture">Selects the text or pitcure</param> public void SelectOptimizeTextOrPicture(OptimizeTextPic optimizeTextOrPicture) { ScrollToOption("CopyOptimizeTextPictureDialogButton"); if (_controlPanel.GetControls().Contains("CopyOptimizeTextPictureDialogButton")) { _controlPanel.PressWait("CopyOptimizeTextPictureDialogButton", "CopyOptimizeTextPictureDialog"); var controls = _controlPanel.GetControls().ToList(); if (controls.Contains("m_RadioButton")) { switch (optimizeTextOrPicture) { case OptimizeTextPic.Mixed: _controlPanel.Press("Mixed"); break; case OptimizeTextPic.Photo: _controlPanel.Press("Photo"); break; case OptimizeTextPic.Text: _controlPanel.Press("Text"); break; case OptimizeTextPic.Glossy: default: _controlPanel.Press("Glossy"); break; } _controlPanel.Press("m_OKButton"); } } }
/// <summary> /// Selects the Optimize text or pitcure for the scanned file /// </summary> /// <param name="optimizeTextOrPicture">the text or pitcure to select(case sensitive)</param> public void SelectOptimizeTextOrPicture(OptimizeTextPic optimizeTextOrPicture) { OpenOptionsPanel(); if (!_controlPanel.ScrollPressWait("#hpid-option-optimize-text-picture", "#hpid-option-optimize-text-picture-screen", TimeSpan.FromSeconds(5))) { throw new DeviceWorkflowException("Unable to select optimize text/picture option."); } Pacekeeper.Sync(); _controlPanel.ScrollPressWait($"#hpid-optimize-text-picture-selection-{optimizeTextOrPicture.ToString().ToLower()}", ".hp-option-list"); }
/// <summary> /// Selects the Optimize text or pitcure for the scanned file /// </summary> /// <param name="optimizeTextOrPicture">Selects the text or pitcure</param> void INetworkFolderJobOptions.SelectOptimizeTextOrPicture(OptimizeTextPic optimizeTextOrPicture) { throw new NotImplementedException($"SelectOptimizeTextOrPitcure with setting {optimizeTextOrPicture} feature is not implemented on SiriusUIv3 devices"); }
/// <summary> /// Selects the Optimize text or pitcure for the scanned file /// </summary> /// <param name="optimizeTextOrPicture">Selects the text or pitcure</param> public void SelectOptimizeTextOrPicture(OptimizeTextPic optimizeTextOrPicture) { throw new NotImplementedException($"Select optimize text or picture has not been implemented for Phoenix Nova devices."); }
/// <summary> /// Selects the Optimize text or pitcure for the scanned file /// </summary> /// <param name="optimizeTextOrPicture">Selects the text or picture</param> void IEmailJobOptions.SelectOptimizeTextOrPicture(OptimizeTextPic optimizeTextOrPicture) { throw new NotImplementedException($"SelectOptimizeTextOrPitcure with setting {optimizeTextOrPicture} feature is not implemented on PhoenixMagicFrame devices"); }
/// <summary> /// Selects the Optimize text or pitcure for the scanned file /// </summary> /// <param name="optimizeTextOrPicture">Selects the text or pitcure</param> public void SelectOptimizeTextOrPicture(OptimizeTextPic optimizeTextOrPicture) { throw new NotImplementedException($"SelectOptimizeTextOrPitcure with setting {optimizeTextOrPicture} feature is not implemented on OzWindjammer devices"); }