D3DImage.CopyBackBuffer Metodo

Definizione

Crea una copia software dell'oggetto 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

Valori restituiti

Oggetto BitmapSource che rappresenta una copia software dello stato corrente del buffer nascosto; in caso contrario, null se il buffer nascosto non può essere letto.

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 BitmapSource se l'implementazione predefinita CopyBackBuffer restituisce null.

Si applica a

Vedi anche