C# 클래스 BlackFox.Win32.Icons

파일 보기 프로젝트 열기: headswe/DreamEdit

공개 메소드들

메소드 설명
Extract ( string fileName, SystemIconSize size ) : List
Extract ( string fileName, List largeIcons, List smallIcons ) : void
ExtractEx ( string fileName, SystemIconSize size, int firstIconIndex, int iconCount ) : List
ExtractEx ( string fileName, List largeIcons, List smallIcons, int firstIconIndex, int iconCount ) : void
ExtractFromRegistryString ( string regString, SystemIconSize size ) : Icon
ExtractInformationsFromRegistryString ( string regString, string &fileName, int &index ) : void

Parse strings in registry who contains the name of the icon and the index of the icon an return both parts.

ExtractOne ( string fileName, int index, SystemIconSize size ) : Icon
ExtractOne ( string fileName, int index, Icon &largeIcon, Icon &smallIcon ) : void
IconFromExtension ( string extension, SystemIconSize size ) : Icon
IconFromExtensionShell ( string extension, SystemIconSize size ) : Icon
IconFromResource ( string resourceName ) : Icon

비공개 메소드들

메소드 설명
ExtractIconEx ( [ lpszFile, int nIconIndex, IntPtr phIconLarge, IntPtr phIconSmall, int nIcons ) : int
GetIconsCountInFile ( string fileName ) : int

Get the number of icons in the specified file.

SHGetFileInfo ( string pszPath, int dwFileAttributes, SHFILEINFO &psfi, int cbFileInfo, FileInfoFlags uFlags ) : IntPtr

메소드 상세

Extract() 공개 정적인 메소드

public static Extract ( string fileName, SystemIconSize size ) : List
fileName string
size SystemIconSize
리턴 List

Extract() 공개 정적인 메소드

public static Extract ( string fileName, List largeIcons, List smallIcons ) : void
fileName string
largeIcons List
smallIcons List
리턴 void

ExtractEx() 공개 정적인 메소드

public static ExtractEx ( string fileName, SystemIconSize size, int firstIconIndex, int iconCount ) : List
fileName string
size SystemIconSize
firstIconIndex int
iconCount int
리턴 List

ExtractEx() 공개 정적인 메소드

public static ExtractEx ( string fileName, List largeIcons, List smallIcons, int firstIconIndex, int iconCount ) : void
fileName string
largeIcons List
smallIcons List
firstIconIndex int
iconCount int
리턴 void

ExtractFromRegistryString() 공개 정적인 메소드

public static ExtractFromRegistryString ( string regString, SystemIconSize size ) : Icon
regString string
size SystemIconSize
리턴 System.Drawing.Icon

ExtractInformationsFromRegistryString() 공개 정적인 메소드

Parse strings in registry who contains the name of the icon and the index of the icon an return both parts.
public static ExtractInformationsFromRegistryString ( string regString, string &fileName, int &index ) : void
regString string The full string in the form "path,index" as found in registry.
fileName string The "path" part of the string.
index int The "index" part of the string.
리턴 void

ExtractOne() 공개 정적인 메소드

public static ExtractOne ( string fileName, int index, SystemIconSize size ) : Icon
fileName string
index int
size SystemIconSize
리턴 System.Drawing.Icon

ExtractOne() 공개 정적인 메소드

public static ExtractOne ( string fileName, int index, Icon &largeIcon, Icon &smallIcon ) : void
fileName string
index int
largeIcon System.Drawing.Icon
smallIcon System.Drawing.Icon
리턴 void

IconFromExtension() 공개 정적인 메소드

public static IconFromExtension ( string extension, SystemIconSize size ) : Icon
extension string
size SystemIconSize
리턴 System.Drawing.Icon

IconFromExtensionShell() 공개 정적인 메소드

public static IconFromExtensionShell ( string extension, SystemIconSize size ) : Icon
extension string
size SystemIconSize
리턴 System.Drawing.Icon

IconFromResource() 공개 정적인 메소드

public static IconFromResource ( string resourceName ) : Icon
resourceName string
리턴 System.Drawing.Icon