Image.GetFrameCount(FrameDimension) 메서드
정의
지정된 크기의 프레임 수를 반환합니다.Returns the number of frames of the specified dimension.
public:
int GetFrameCount(System::Drawing::Imaging::FrameDimension ^ dimension);
public int GetFrameCount (System.Drawing.Imaging.FrameDimension dimension);
member this.GetFrameCount : System.Drawing.Imaging.FrameDimension -> int
Public Function GetFrameCount (dimension As FrameDimension) As Integer
매개 변수
- dimension
- FrameDimension
크기 형식의 ID를 지정하는 FrameDimension입니다.A FrameDimension that specifies the identity of the dimension type.
반환
지정된 크기의 프레임 수를 반환합니다.The number of frames in the specified dimension.
설명
이 메서드는 여러 프레임 이미지에 대 한 정보를 반환 합니다 .이 이미지는 여러 페이지와 여러 해상도의 두 가지 스타일로 제공 됩니다.This method returns information about multiple-frame images, which come in two styles: multiple page and multiple resolution.
다중 페이지 이미지는 이미지가 두 개 이상 포함 된 이미지입니다.A multiple-page image is an image that contains more than one image. 각 페이지에는 단일 이미지 (또는 프레임)가 포함 되어 있습니다.Each page contains a single image (or frame). 이러한 페이지 (또는 이미지 또는 프레임)는 애니메이션 된 .gif 파일 처럼 애니메이션 된 시퀀스를 생성 하기 위해 일반적으로 연속 해 서 표시 됩니다.These pages (or images, or frames) are typically displayed in succession to produce an animated sequence, such as an animated .gif file.
다중 해상도 이미지는 다양 한 해상도에서 이미지의 복사본을 두 개 이상 포함 하는 이미지입니다.A multiple-resolution image is an image that contains more than one copy of an image at different resolutions. 이는 표시 된 이미지 크기에서 그리기에 사용 되는 이미지의 해상도를 결정 하는 밉 매핑에서 일반적으로 사용 됩니다.This is commonly used by MIP mapping where the displayed image size determines the resolution of the image used for drawing. GDI+GDI+ 는 임의의 수의 페이지 (또는 이미지 또는 프레임) 뿐만 아니라 임의의 수의 해상도를 지원할 수 있습니다.can support an arbitrary number of pages (or images, or frames), as well as an arbitrary number of resolutions. 정의 된 차원은의 속성입니다 FrameDimension .The defined dimensions are properties of the FrameDimension.