コード例 #1
0
        public ScanSettings()
        {
            OriginalSize = new DataPair <string> {
                Key = string.Empty
            };
            OriginalSides = new DataPair <string> {
                Key = string.Empty
            };
            ContentOrientation = new DataPair <string> {
                Key = string.Empty
            };
            ImagePreview = new DataPair <string> {
                Key = string.Empty
            };

            Optimize = new DataPair <string> {
                Key = string.Empty
            };
            Sharpness = new DataPair <string> {
                Key = string.Empty
            };
            Cleanup = new DataPair <string> {
                Key = string.Empty
            };
            Darkness = new DataPair <string> {
                Key = string.Empty
            };
            Contrast = new DataPair <string> {
                Key = string.Empty
            };
        }
コード例 #2
0
 public ScanSettings(string size, string sides, string orientation, string preview)
 {
     OriginalSize = new DataPair <string> {
         Key = size, Value = true
     };
     OriginalSides = new DataPair <string> {
         Key = sides, Value = true
     };
     ContentOrientation = new DataPair <string> {
         Key = orientation, Value = true
     };
     ImagePreview = new DataPair <string> {
         Key = preview, Value = true
     };
 }