System::Drawing::Icon 클래스

Icon class

Represents a Windows icon. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class Icon : public System::Object

메서드

메서드설명
get_Height() const아이콘의 높이를 반환합니다.
get_Width() const아이콘의 너비를 반환합니다.
Icon(const String&)지정된 파일에서 아이콘을 나타내는 새로운 Icon 클래스 인스턴스를 생성합니다.
ToBitmap()현재 객체를 Bitmap 객체로 변환합니다.
virtual ~Icon()소멸자.

또 보기