Metodo Device.CreateImageSurface
Aggiornamento: novembre 2007
Crea un oggetto Surface.
Spazio dei nomi: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Sintassi
'Dichiarazione
Public Function CreateImageSurface ( _
width As Integer, _
height As Integer, _
format As Format _
) As Surface
'Utilizzo
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
Parametri
width
Tipo: System.Int32Larghezza della superficie.
height
Tipo: System.Int32Altezza della superficie.
format
Tipo: Microsoft.WindowsMobile.DirectX.Direct3D.FormatValore di enumerazione Format.
Valore restituito
Tipo: Microsoft.WindowsMobile.DirectX.Direct3D.Surface
Oggetto Surface.
Autorizzazioni
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Piattaforme
Windows CE, Windows Mobile per Smartphone, Windows Mobile per Pocket PC
.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.
Informazioni sulla versione
.NET Compact Framework
Supportato in: 3.5, 2.0