Device.CreateImageSurface, méthode
Mise à jour : novembre 2007
Crée un Surface.
Espace de noms : Microsoft.WindowsMobile.DirectX.Direct3D
Assembly : Microsoft.WindowsMobile.DirectX (dans Microsoft.WindowsMobile.DirectX.dll)
Syntaxe
'Déclaration
Public Function CreateImageSurface ( _
width As Integer, _
height As Integer, _
format As Format _
) As Surface
'Utilisation
Dim instance As Device
Dim width As Integer
Dim height As Integer
Dim format As Format
Dim returnValue As Surface
returnValue = instance.CreateImageSurface(width, _
height, format)
public Surface CreateImageSurface(
int width,
int height,
Format format
)
public:
Surface^ CreateImageSurface(
int width,
int height,
Format format
)
public function CreateImageSurface(
width : int,
height : int,
format : Format
) : Surface
Paramètres
width
Type : System.Int32Largeur de la surface.
height
Type : System.Int32Hauteur de la surface.
format
Type : Microsoft.WindowsMobile.DirectX.Direct3D.FormatValeur de l'énumération Format.
Valeur de retour
Type : Microsoft.WindowsMobile.DirectX.Direct3D.Surface
Surface .
Autorisations
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Plateformes
Windows CE, Windows Mobile pour Smartphone, Windows Mobile pour Pocket PC
Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Informations de version
.NET Compact Framework
Pris en charge dans : 3.5, 2.0