⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constants.cs

📁 Fireball.CodeEditor is an source code editor control derived from the best compona SyntaxBox Control
💻 CS
📖 第 1 页 / 共 2 页
字号:

namespace Fireball.Drawing.ImageInfo
{
	///<summary>
	///Unit of measure used for the horizontal resolution and the vertical resolution.
	///</summary>
	public enum ResolutionUnit: ushort
	{
		///<summary>Dots Per Inch</summary>
		dpi  			= 2,
		///<summary>Centimeters Per Inch</summary>
		dpcm 			=3
	}
	
	///<summary>
	///Image orientation viewed in terms of rows and columns.
	///</summary>
	public enum Orientation: ushort
	{
		///<summary>The 0th row is at the top of the visual image, and the 0th column is the visual left side.</summary>
		TopLeft 				= 1,
		///<summary>The 0th row is at the visual top of the image, and the 0th column is the visual right side.</summary>
		TopRight 				= 2,
		///<summary>The 0th row is at the visual bottom of the image, and the 0th column is the visual right side.</summary>
		BottomLeft 				= 3,
		///<summary>The 0th row is at the visual bottom of the image, and the 0th column is the visual right side.</summary>
		BottomRight 			= 4,
		///<summary>The 0th row is the visual left side of the image, and the 0th column is the visual top.</summary>
		LeftTop 				= 5,
		///<summary>The 0th row is the visual right side of the image, and the 0th column is the visual top.</summary>
		RightTop 				= 6,
		///<summary>The 0th row is the visual right side of the image, and the 0th column is the visual bottom.</summary>
		RightBottom 			= 7,
		///<summary>The 0th row is the visual left side of the image, and the 0th column is the visual bottom.</summary>
		LeftBottom 				= 8
	}

	///<summary>
	/// Class of the program used by the camera to set exposure when the picture is taken.
	///</summary>
	public enum ExposureProg: ushort
	{
		///<summary>not defined</summary>
		Undefined 				= 0, 
		///<summary>manual</summary>
		Manual 					= 1,
		///<summary>normal program</summary>
		Normal 					= 2,
		///<summary>aperture priority</summary>
		Aperture 				= 3,
		///<summary>shutter priority</summary>
		Shutter 				= 4,
		///<summary>creative program (biased toward depth of field)</summary>
		Creative 				= 5,
		///<summary>action program (biased toward fast shutter speed)</summary>
		Action 					= 6,
		///<summary>portrait mode (for close-up photos with the background out of focus)</summary>
		Portrait 				= 7,
		///<summary>landscape mode (for landscape photos with the background in focus)</summary>
		Landscape 				= 8,
		///<summary>9 to 255 - reserved</summary>
		Reserved 				= 9
	}
	
	
	///<summary>
	/// Metering mode
	///</summary>
	public enum MeteringMode: ushort
	{
		///<summary>Unknown</summary>
		Unknown 							= 0,
		///<summary>Average</summary>
		Average 							= 1,
		///<summary>Center weighted average</summary>
		CenterWeightedAverage 				= 2,
		///<summary>Spot</summary>
		Spot 								= 3,
		///<summary>Multi Spot</summary>
		MultiSpot 							= 4,
		///<summary>Pattern</summary>
		Pattern 							= 5,
		///<summary>Partial</summary>
		Partial 							= 6,
		///<summary>Other</summary>
		Other 								= 255
	}
	
	///<summary>
	/// Specifies the data type of the values stored in the value data member of that same PropertyItem object.
	///</summary>
	public enum PropertyTagType: short
	{
		///<summary>Specifies that the format is 4 bits per pixel, indexed.</summary>
		PixelFormat4bppIndexed 					= 0,
		///<summary>Specifies that the value data member is an array of bytes.</summary>
		Byte 					= 1,
		///<summary>Specifies that the value data member is a null-terminated ASCII string. If you set the type data member of a PropertyItem object to PropertyTagTypeASCII, you should set the length data member to the length of the string including the NULL terminator. For example, the string HELLO would have a length of 6.</summary>
		ASCII 					= 2,
		///<summary>Specifies that the value data member is an array of unsigned short (16-bit) integers.</summary>
		Short 					= 3,
		///<summary>Specifies that the value data member is an array of unsigned long (32-bit) integers.</summary>
		Long 					= 4,
		///<summary>Specifies that the value data member is an array of pairs of unsigned long integers. Each pair represents a fraction; the first integer is the numerator and the second integer is the denominator.</summary>
		Rational 				= 5,
		///<summary>Specifies that the value data member is an array of bytes that can hold values of any data type.</summary>
		Undefined 				= 7,
		///<summary>Specifies that the value data member is an array of signed long (32-bit) integers.</summary>
		SLONG 					= 9,
		///<summary>Specifies that the value data member is an array of pairs of signed long integers. Each pair represents a fraction; the first integer is the numerator and the second integer is the denominator.</summary>
		SRational 				= 10
	}
	
	///<summary>
	/// The following Enumeration gives list (and descriptions) of the property items supported in EXIF format.
	///</summary>	
	public enum PropertyTagId: int
	{
		///<summary>Null-terminated character string that specifies the name of the person who created the image.</summary>
		Artist					=	0x013B	,
		///<summary>Number of bits per color component. See also SamplesPerPixel.</summary>
		BitsPerSample			=	0x0102	,
		///<summary></summary>
		CellHeight				=	0x0109	,
		///<summary></summary>
		CellWidth				=	0x0108	,
		///<summary></summary>
		ChrominanceTable		=	0x5091	,
		///<summary></summary>
		ColorMap				=	0x0140	,
		///<summary></summary>
		ColorTransferFunction	=	0x501A	,
		///<summary></summary>
		Compression				=	0x0103	,
		///<summary></summary>
		Copyright				=	0x8298	,
		///<summary></summary>
		DateTime				=	0x0132	,
		///<summary></summary>
		DocumentName			=	0x010D	,
		///<summary></summary>
		DotRange				=	0x0150	,
		///<summary></summary>
		EquipMake				=	0x010F	,
		///<summary></summary>
		EquipModel				=	0x0110	,
		///<summary></summary>
		ExifAperture			=	0x9202	,
		///<summary></summary>
		ExifBrightness			=	0x9203	,
		///<summary></summary>
		ExifCfaPattern			=	0xA302	,
		///<summary></summary>
		ExifColorSpace			=	0xA001	,
		///<summary></summary>
		ExifCompBPP				=	0x9102	,
		///<summary></summary>
		ExifCompConfig			=	0x9101	,
		///<summary></summary>
		ExifDTDigitized			=	0x9004	,
		///<summary></summary>
		ExifDTDigSS				=	0x9292	,
		///<summary></summary>
		ExifDTOrig				=	0x9003	,
		///<summary></summary>
		ExifDTOrigSS			=	0x9291	,
		///<summary></summary>
		ExifDTSubsec			=	0x9290	,
		///<summary></summary>
		ExifExposureBias		=	0x9204	,
		///<summary></summary>
		ExifExposureIndex		=	0xA215	,
		///<summary></summary>
		ExifExposureProg		=	0x8822	,
		///<summary></summary>
		ExifExposureTime		=	0x829A	,
		///<summary></summary>
		ExifFileSource			=	0xA300	,
		///<summary></summary>
		ExifFlash				=	0x9209	,
		///<summary></summary>
		ExifFlashEnergy			=	0xA20B	,
		///<summary></summary>
		ExifFNumber				=	0x829D	,
		///<summary></summary>
		ExifFocalLength			=	0x920A	,
		///<summary></summary>
		ExifFocalResUnit		=	0xA210	,
		///<summary></summary>
		ExifFocalXRes			=	0xA20E	,
		///<summary></summary>
		ExifFocalYRes			=	0xA20F	,
		///<summary></summary>
		ExifFPXVer				=	0xA000	,
		///<summary></summary>
		ExifIFD					=	0x8769	,
		///<summary></summary>
		ExifInterop				=	0xA005	,
		///<summary></summary>
		ExifISOSpeed			=	0x8827	,
		///<summary></summary>
		ExifLightSource			=	0x9208	,
		///<summary></summary>
		ExifMakerNote			=	0x927C	,
		///<summary></summary>
		ExifMaxAperture			=	0x9205	,
		///<summary></summary>
		ExifMeteringMode		=	0x9207	,
		///<summary></summary>
		ExifOECF				=	0x8828	,
		///<summary></summary>
		ExifPixXDim				=	0xA002	,
		///<summary></summary>
		ExifPixYDim				=	0xA003	,
		///<summary></summary>
		ExifRelatedWav			=	0xA004	,
		///<summary></summary>
		ExifSceneType			=	0xA301	,
		///<summary></summary>
		ExifSensingMethod		=	0xA217	,
		///<summary></summary>
		ExifShutterSpeed		=	0x9201	,
		///<summary></summary>
		ExifSpatialFR			=	0xA20C	,
		///<summary></summary>
		ExifSpectralSense		=	0x8824	,
		///<summary></summary>
		ExifSubjectDist			=	0x9206	,
		///<summary></summary>
		ExifSubjectLoc			=	0xA214	,
		///<summary></summary>
		ExifUserComment			=	0x9286	,
		///<summary></summary>
		ExifVer					=	0x9000	,
		///<summary></summary>
		ExtraSamples			=	0x0152	,
		///<summary></summary>
		FillOrder				=	0x010A	,
		///<summary></summary>
		FrameDelay				=	0x5100	,
		///<summary></summary>
		FreeByteCounts			=	0x0121	,
		///<summary></summary>
		FreeOffset				=	0x0120	,
		///<summary></summary>
		Gamma					=	0x0301	,
		///<summary></summary>
		GlobalPalette			=	0x5102	,
		///<summary></summary>
		GpsAltitude				=	0x0006	,
		///<summary></summary>
		GpsAltitudeRef			=	0x0005	,
		///<summary></summary>
		GpsDestBear				=	0x0018	,
		///<summary></summary>
		GpsDestBearRef			=	0x0017	,
		///<summary></summary>
		GpsDestDist				=	0x001A	,
		///<summary></summary>
		GpsDestDistRef			=	0x0019	,
		///<summary></summary>
		GpsDestLat				=	0x0014	,
		///<summary></summary>
		GpsDestLatRef			=	0x0013	,
		///<summary></summary>
		GpsDestLong				=	0x0016	,
		///<summary></summary>
		GpsDestLongRef			=	0x0015	,
		///<summary></summary>
		GpsGpsDop				=	0x000B	,
		///<summary></summary>
		GpsGpsMeasureMode		=	0x000A	,
		///<summary></summary>
		GpsGpsSatellites		=	0x0008	,
		///<summary></summary>
		GpsGpsStatus			=	0x0009	,
		///<summary></summary>
		GpsGpsTime				=	0x0007	,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -