## Icon class


Represents a [Windows](../../system.windows/) icon. Objects of this class should only be allocated using [System::MakeObject()](../../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](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument.

```cpp
class Icon : public System::Object
```

## 메서드

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

* Class [Object](../../system/object/)
* Namespace [System::Drawing](../)
* Library [Aspose.Page for C++](../../)
