CopyFromRenderTarget(RenderTarget) Method
Copies the specified region from the specified render target into the current bitmap.
'Declaration
Public Overloads Sub CopyFromRenderTarget( _
ByVal As RenderTarget _
)
Parameters
- renderTarget
- The render target that contains the region to copy.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.