Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawCamera Method
The camera object.
The width of the target picture.
The height of the target picture.


In This Topic
    DrawCamera Method (IDrawingContext)
    In This Topic
    Draws the camera object.
    Syntax
    'Declaration
     
    
    Function DrawCamera( _
       ByVal camera As Camera, _
       Optional ByVal width As Integer, _
       Optional ByVal height As Integer _
    ) As ImageBrush
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim camera As Camera
    Dim width As Integer
    Dim height As Integer
    Dim value As ImageBrush
     
    value = instance.DrawCamera(camera, width, height)

    Parameters

    camera
    The camera object.
    width
    The width of the target picture.
    height
    The height of the target picture.

    Return Value

    An ImageBrush object represents the picture of the camera object.
    See Also