## Scale(float) {#scale}

Redimensionner l'image - Résolution d'image ascendante ou descendante. InterpolationFilterType = Lanczos8

```csharp
public static PreprocessingFilter Scale(float ratio)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| ratio | Single | Le facteur d'échelle.Recommandé de 0,1 à 1 pour rétrécir. De 1 à 10 pour agrandir. |

### Return_Value

Objet ScaleFilter.

### Voir également

* class [PreprocessingFilter](../)
* espace de noms [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter/)
* Assemblée [Aspose.OCR](../../../)

---

## Scale(float, InterpolationFilterType) {#scale_1}

Redimensionner l'image - Résolution d'image à l'échelle supérieure ou inférieure.

```csharp
public static PreprocessingFilter Scale(float ratio, InterpolationFilterType type)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| ratio | Single | Le facteur d'échelle.Recommandé de 0,1 à 1 pour rétrécir. De 1 à 10 pour agrandir. |
| type | InterpolationFilterType | [`InterpolationFilterType`](../../../aspose.ocr.filters/interpolationfiltertype/) |

### Return_Value

Objet ScaleFilter.

### Voir également

* enum [InterpolationFilterType](../../../aspose.ocr.filters/interpolationfiltertype/)
* class [PreprocessingFilter](../)
* espace de noms [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter/)
* Assemblée [Aspose.OCR](../../../)


