## AddCondition(FormatConditionType, OperatorType, string, string) {#addcondition_1}

Bir biçimlendirme koşulu ekler.

```csharp
public int AddCondition(FormatConditionType type, OperatorType operatorType, string formula1, 
    string formula2)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| type | FormatConditionType | of koşullu biçimlendirme. FormatConditionType'ın üyelerinden biri olabilir. |
| operatorType | OperatorType | Mukayese[`OperatorType`](../../operatortype). OperatorType üyelerinden biri olabilir. |
| formula1 | String | Koşullu biçimlendirme ile ilişkili değer veya ifade. Girilen değer '=' ile başlıyorsa formül olarak alınır. Aksi takdirde düz değer olarak alınır(metin, sayı, bool). Metin değeri için '=' ile başlar, kullanıcı bunu formül olarak "=\"=...\"" biçiminde girebilir. |
| formula2 | String | Koşullu biçimlendirme ile ilişkili değer veya ifade. Giriş biçimi formül1 ile aynıdır |

### Geri dönüş değeri

Biçimlendirme koşulu nesne dizini;

### Ayrıca bakınız

* enum [FormatConditionType](../../formatconditiontype)
* enum [OperatorType](../../operatortype)
* class [FormatConditionCollection](../../formatconditioncollection)
* ad alanı [Aspose.Cells](../../formatconditioncollection)
* toplantı [Aspose.Cells](../../../)

---

## AddCondition(FormatConditionType) {#addcondition}

Bir biçim koşulu ekleyin.

```csharp
public int AddCondition(FormatConditionType type)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| type | FormatConditionType | Biçim koşulu türü. |

### Geri dönüş değeri

Biçimlendirme koşulu nesne dizini;

### Ayrıca bakınız

* enum [FormatConditionType](../../formatconditiontype)
* class [FormatConditionCollection](../../formatconditioncollection)
* ad alanı [Aspose.Cells](../../formatconditioncollection)
* toplantı [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
