Condividi tramite


ImageScaler.ScaleSoftwareBitmap(SoftwareBitmap, Int32, Int32) Metodo

Definizione

Ridimensiona una bitmap non compressa.

public:
 virtual SoftwareBitmap ^ ScaleSoftwareBitmap(SoftwareBitmap ^ softwareBitmap, int width, int height) = ScaleSoftwareBitmap;
SoftwareBitmap ScaleSoftwareBitmap(SoftwareBitmap const& softwareBitmap, int const& width, int const& height);
public SoftwareBitmap ScaleSoftwareBitmap(SoftwareBitmap softwareBitmap, int width, int height);
function scaleSoftwareBitmap(softwareBitmap, width, height)
Public Function ScaleSoftwareBitmap (softwareBitmap As SoftwareBitmap, width As Integer, height As Integer) As SoftwareBitmap

Parametri

softwareBitmap
SoftwareBitmap

Bitmap non compressa da ridimensionare.

width
Int32

int

Larghezza della bitmap, espressa in pixel.

height
Int32

int

Altezza della bitmap, in pixel.

Restituisce

Bitmap non compressa modificata nella scala specificata.

Commenti

SoftwareBitmap supporta un set fisso di formati pixel (vedere BitmapPixelFormat) non ottimizzati per AI Foundry in Windows. Usare ScaleImageBuffer per i formati pixel ottimizzati per AI Foundry in Windows.

Si applica a

Vedi anche