C# 클래스 TileIconifier.Core.IconExtractor.IconExtractor

파일 보기 프로젝트 열기: Jonno12345/TileIconifier 1 사용 예제들

공개 메소드들

메소드 설명
GetAllIcons ( ) : System.Drawing.Icon[]

Extracts all the icons from the file.

Always returns new copies of the Icons. They should be disposed by the user.

GetIcon ( int index ) : Icon

Extracts an icon from the file.

Always returns new copy of the Icon. It should be disposed by the user.

IconExtractor ( string fileName ) : System

Initializes a new instance of the IconExtractor class from the specified file name.

비공개 메소드들

메소드 설명
GetDataFromResource ( IntPtr hModule, IntPtr type, IntPtr name ) : byte[]
GetFileName ( IntPtr hModule ) : string
Initialize ( string fileName ) : void

메소드 상세

GetAllIcons() 공개 메소드

Extracts all the icons from the file.
Always returns new copies of the Icons. They should be disposed by the user.
public GetAllIcons ( ) : System.Drawing.Icon[]
리턴 System.Drawing.Icon[]

GetIcon() 공개 메소드

Extracts an icon from the file.
Always returns new copy of the Icon. It should be disposed by the user.
public GetIcon ( int index ) : Icon
index int Zero based index of the icon to be extracted.
리턴 System.Drawing.Icon

IconExtractor() 공개 메소드

Initializes a new instance of the IconExtractor class from the specified file name.
public IconExtractor ( string fileName ) : System
fileName string The file to extract icons from.
리턴 System