Example #1
0
 public ScanResolution(float resolution, ResolutionAnnotation annotation)
 {
     Resolution = new ImageScannerResolution {
         DpiX = resolution, DpiY = resolution
     };
     Annotation   = annotation;
     FriendlyText = GenerateFriendlyText();
 }
Example #2
0
        public const float PhotosResolution    = 500;      // the recommended resolution for photos


        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        // CONSTRUCTORS / FACTORIES /////////////////////////////////////////////////////////////////////////////////////////////
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        public ScanResolution(ImageScannerResolution resolution, ResolutionAnnotation annotation)
        {
            Resolution   = resolution;
            Annotation   = annotation;
            FriendlyText = GenerateFriendlyText();
        }