ImageFormat 클래스

정의

이미지의 파일 형식을 지정합니다. 상속할 수 없습니다.

public ref class ImageFormat sealed
public sealed class ImageFormat
[System.ComponentModel.TypeConverter("System.Drawing.ImageFormatConverter, System.Windows.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")]
public sealed class ImageFormat
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ImageFormatConverter))]
public sealed class ImageFormat
type ImageFormat = class
[<System.ComponentModel.TypeConverter("System.Drawing.ImageFormatConverter, System.Windows.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")>]
type ImageFormat = class
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ImageFormatConverter))>]
type ImageFormat = class
Public NotInheritable Class ImageFormat
상속
ImageFormat
특성

설명

클래스의 ImageFormat 속성은 비트맵(), 향상된 메타파일(Bmp) 및 아이콘(Emf)과 같은 이미지 형식을Icon 나타냅니다. 예를 들어 메서드를 사용하여 이미지를 저장할 때 클래스의 ImageFormat 속성을 사용하여 이미지 형식을 Save 지정할 수 있습니다. 메서드를 사용하여 Equals 두 이미지 형식을 비교할 수 있습니다.

참고

.NET 6 이상 버전에서 이 형식을 포함하는 System.Drawing.Common 패키지는Windows 운영 체제에서만 지원됩니다. 플랫폼 간 앱에서 이 형식을 사용하면 컴파일 시간 경고 및 런타임 예외가 발생합니다. 자세한 내용은 Windows 에서만 지원되는 System.Drawing.Common을 참조하세요.

생성자

ImageFormat(Guid)

지정한 ImageFormat 구조체를 사용하여 Guid 클래스의 새 인스턴스를 초기화합니다.

속성

Bmp

비트맵(BMP) 이미지 형식을 가져옵니다.

Emf

확장 메타파일(EMF) 이미지 형식을 가져옵니다.

Exif

Exchangeable Image File(Exif) 형식을 가져옵니다.

Gif

GIF(Graphics Interchange Format) 이미지 형식을 가져옵니다.

Guid

Guid 개체를 나타내는 ImageFormat 구조체를 가져옵니다.

Icon

Windows 아이콘 이미지 형식을 가져옵니다.

Jpeg

JPEG(Joint Photographic Experts Group) 이미지 형식을 가져옵니다.

MemoryBmp

메모리의 비트맵 형식을 가져옵니다.

Png

W3C PNG(Portable Network Graphics) 이미지 형식을 가져옵니다.

Tiff

TIFF(Tagged Image File Format) 이미지 형식을 가져옵니다.

Wmf

Windows 메타파일(WMF) 이미지 형식을 가져옵니다.

메서드

Equals(Object)

지정된 개체가 이 ImageFormat 개체와 동일한 ImageFormat 개체인지 여부를 나타내는 값을 반환합니다.

GetHashCode()

이 개체를 나타내는 해시 코드 값을 반환합니다.

GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

ImageFormat 개체를 사람이 인식할 수 있는 문자열로 변환합니다.

적용 대상

추가 정보