Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / ZBuffer Class / CaptureBackbuffer Method
The render context
The viewport
The viewport id
The ViewportLayout instance Id
The map from ids to items
Tells if the image captured for the selection included only the selectable entities
The rectangle in screen coordinates
If true, the image was captured with the leafSelection set to true

In This Topic
    CaptureBackbuffer Method
    In This Topic
    Captures the Back buffer image
    Syntax
    'Declaration
     
    Public Function CaptureBackbuffer( _
       ByVal renderContext As RenderContextBase, _
       ByVal viewport As IViewport, _
       ByVal viewportId As Integer, _
       ByVal viewportLayoutId As String, _
       ByVal keepData As Boolean, _
       ByVal idItemsMap As Object, _
       ByVal selectableOnly As Boolean, _
       ByVal modelViewProjectionMatrix() As Double, _
       ByVal rect As Rectangle, _
       ByVal leafSelection As Boolean, _
       ByRef stride As Integer, _
       ByRef bpp As Integer, _
       Optional ByVal innerImage As Boolean _
    ) As Byte()
    public byte[] CaptureBackbuffer( 
       RenderContextBase renderContext,
       IViewport viewport,
       int viewportId,
       string viewportLayoutId,
       bool keepData,
       object idItemsMap,
       bool selectableOnly,
       double[] modelViewProjectionMatrix,
       Rectangle rect,
       bool leafSelection,
       out int stride,
       out int bpp,
       bool innerImage
    )

    Parameters

    renderContext
    The render context
    viewport
    The viewport
    viewportId
    The viewport id
    viewportLayoutId
    The ViewportLayout instance Id
    keepData
    idItemsMap
    The map from ids to items
    selectableOnly
    Tells if the image captured for the selection included only the selectable entities
    modelViewProjectionMatrix
    rect
    The rectangle in screen coordinates
    leafSelection
    If true, the image was captured with the leafSelection set to true
    stride
    bpp
    innerImage

    Return Value

    See Also