SoftwareBitmapSource.SetBitmapAsync(SoftwareBitmap) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit la source SoftwareBitmap à utiliser comme source d’image.
public:
virtual IAsyncAction ^ SetBitmapAsync(SoftwareBitmap ^ softwareBitmap) = SetBitmapAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetBitmapAsync(SoftwareBitmap const& softwareBitmap);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetBitmapAsync(SoftwareBitmap softwareBitmap);
function setBitmapAsync(softwareBitmap)
Public Function SetBitmapAsync (softwareBitmap As SoftwareBitmap) As IAsyncAction
Paramètres
- softwareBitmap
- SoftwareBitmap
SoftwareBitmap à utiliser comme source d’image.
Retours
Action asynchrone.
- Attributs
Remarques
Le SoftwareBitmap doit être au format de pixel BGRA avec des valeurs alpha prémultipliées.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour