**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase)
```
public class IcoOptions extends ImageOptionsBase
```

Erstellen Sie benutzerdefinierte ICO-Bilddateien für Anwendungssymbole mühelos mit unserer API, die es Ihnen ermöglicht, Ihre Software nahtlos darzustellen. Unsere API unterstützt PNG- und BMP-Bildrahmen mit verschiedenen Bits‑pro‑Pixel‑Werten und gewährleistet Vielseitigkeit und Kompatibilität für Ihre Icon‑Erstellungsanforderungen.
## Konstruktoren

| Konstruktor | Beschreibung |
| --- | --- |
| [IcoOptions()](#IcoOptions--) | Initialisiert eine neue Instanz der [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) Klasse mit dem ICO‑Frame‑Format gleich Png und bitsPerPixel gleich 32. |
| [IcoOptions(IcoOptions options)](#IcoOptions-com.aspose.imaging.imageoptions.IcoOptions-) |  |
| [IcoOptions(long format)](#IcoOptions-long-) | Initialisiert eine neue Instanz der [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) Klasse mit dem ICO‑Frame‑Format gleich [`format`] und bitsPerPixel gleich 32. |
| [IcoOptions(long format, int bitsPerPixel)](#IcoOptions-long-int-) | Initialisiert eine neue Instanz der [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) Klasse. |
## Methoden

| Methode | Beschreibung |
| --- | --- |
| [getFormat()](#getFormat--) | Liest das ICO‑Frame‑Format. |
| [setFormat(long value)](#setFormat-long-) | Setzt das ICO‑Frame‑Format. |
| [getBitsPerPixel()](#getBitsPerPixel--) | Liest den Bits‑pro‑Pixel‑Wert. |
| [setBitsPerPixel(int value)](#setBitsPerPixel-int-) | Setzt den Bits‑pro‑Pixel‑Wert. |
### IcoOptions() {#IcoOptions--}
```
public IcoOptions()
```


Initialisiert eine neue Instanz der [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) Klasse mit dem ICO‑Frame‑Format gleich Png und bitsPerPixel gleich 32.

### IcoOptions(IcoOptions options) {#IcoOptions-com.aspose.imaging.imageoptions.IcoOptions-}
```
public IcoOptions(IcoOptions options)
```


**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| options | [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) |  |

### IcoOptions(long format) {#IcoOptions-long-}
```
public IcoOptions(long format)
```


Initialisiert eine neue Instanz der [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) Klasse mit dem ICO‑Frame‑Format gleich [`format`] und bitsPerPixel gleich 32.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| format | long | Das ICO‑Frame‑Format. Hinweis: Das ICO‑Bild unterstützt nur [FileFormat.Png](../../com.aspose.imaging/fileformat\#Png) und [FileFormat.Bmp](../../com.aspose.imaging/fileformat\#Bmp) Bilder als Einträge. |

### IcoOptions(long format, int bitsPerPixel) {#IcoOptions-long-int-}
```
public IcoOptions(long format, int bitsPerPixel)
```


Initialisiert eine neue Instanz der [IcoOptions](../../com.aspose.imaging.imageoptions/icooptions) Klasse.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| format | long | Das ICO‑Frame‑Format. Hinweis: Das ICO‑Bild unterstützt nur [FileFormat.Png](../../com.aspose.imaging/fileformat\#Png) und [FileFormat.Bmp](../../com.aspose.imaging/fileformat\#Bmp) Bilder als Einträge. |
| bitsPerPixel | int | Der Bits‑pro‑Pixel‑Wert. |

### getFormat() {#getFormat--}
```
public final long getFormat()
```


Liest das ICO‑Frame‑Format.

**Returns:**
long - das ICO‑Frame‑Format.
### setFormat(long value) {#setFormat-long-}
```
public final void setFormat(long value)
```


Setzt das ICO‑Frame‑Format.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Wert | long | das ICO‑Frame‑Format. |

### getBitsPerPixel() {#getBitsPerPixel--}
```
public final int getBitsPerPixel()
```


Liest den Bits‑pro‑Pixel‑Wert.

**Returns:**
int - der Bits‑pro‑Pixel‑Wert.
### setBitsPerPixel(int value) {#setBitsPerPixel-int-}
```
public final void setBitsPerPixel(int value)
```


Setzt den Bits‑pro‑Pixel‑Wert.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Wert | int | der Bits‑pro‑Pixel‑Wert. |

