D3DImage.CopyBackBuffer Metodo

Definizione

Crea una copia software di D3DImage.

protected public:
 virtual System::Windows::Media::Imaging::BitmapSource ^ CopyBackBuffer();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected internal virtual System.Windows.Media.Imaging.BitmapSource CopyBackBuffer ();
protected internal virtual System.Windows.Media.Imaging.BitmapSource CopyBackBuffer ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
abstract member CopyBackBuffer : unit -> System.Windows.Media.Imaging.BitmapSource
override this.CopyBackBuffer : unit -> System.Windows.Media.Imaging.BitmapSource
abstract member CopyBackBuffer : unit -> System.Windows.Media.Imaging.BitmapSource
override this.CopyBackBuffer : unit -> System.Windows.Media.Imaging.BitmapSource
Protected Friend Overridable Function CopyBackBuffer () As BitmapSource

Restituisce

Oggetto BitmapSource che corrisponde a una copia software dello stato corrente del buffer nascosto; in caso contrario, null se non è possibile leggere il buffer nascosto.

Attributi

Commenti

Il CopyBackBuffer metodo viene chiamato dai client, ad esempio il sistema di stampa e la RenderTargetBitmap classe.

Facoltativamente, eseguire l'override del metodo per implementare la CopyBackBuffer logica personalizzata e restituire un oggetto diverso BitmapSource. Ad esempio, è possibile restituire un segnaposto se l'implementazione BitmapSource predefinita CopyBackBuffer restituisce null.

Si applica a

Vedi anche