프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ConverterService / ImageFields / OutputInfoEventArgs.cs @ f280a4ce

이력 | 보기 | 이력해설 | 다운로드 (1.93 KB)

1 7ca218b3 KangIngu
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Windows;
6
using System.Windows.Media;
7
8
namespace ImageFields
9
{
10
    public class OutputInfoEventArgs : EventArgs
11
    {
12
        // Fields
13
        private Point dpi;
14
        private string fileName;
15
        private ImageFormat imageFormat;
16
        private PixelFormat imagePixelFormat;
17
        private int maxLevel;
18
        private int numTiles;
19
        private Point pixelSize;
20
21
        // Methods
22
        internal OutputInfoEventArgs(string imagePath, Point imageSize, Point imageDpi, PixelFormat imagePixelFormat, ImageFormat imageFormat, int imageMaxLevel, int outputNumTiles)
23
        {
24
            this.fileName = imagePath;
25
            this.pixelSize = imageSize;
26
            this.dpi = imageDpi;
27
            this.imagePixelFormat = imagePixelFormat;
28
            this.imageFormat = imageFormat;
29
            this.maxLevel = imageMaxLevel;
30
            this.numTiles = outputNumTiles;
31
        }
32
33
        // Properties
34
        public Point Dpi
35
        {
36
            get
37
            {
38
                return this.dpi;
39
            }
40
        }
41
42
        public string FileName
43
        {
44
            get
45
            {
46
                return this.fileName;
47
            }
48
        }
49
50
        public ImageFormat Format
51
        {
52
            get
53
            {
54
                return this.imageFormat;
55
            }
56
        }
57
58
        public PixelFormat ImagePixelFormat
59
        {
60
            get
61
            {
62
                return this.imagePixelFormat;
63
            }
64
        }
65
66
        public int MaxLevel
67
        {
68
            get
69
            {
70
                return this.maxLevel;
71
            }
72
        }
73
74
        public int NumTiles
75
        {
76
            get
77
            {
78
                return this.numTiles;
79
            }
80
        }
81
82
        public Point PixelSize
83
        {
84
            get
85
            {
86
                return this.pixelSize;
87
            }
88
        }
89
    }
90
91
92
}
클립보드 이미지 추가 (최대 크기: 500 MB)