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


In This Topic
    DrawCamera Method
    In This Topic
    Draws the camera object.
    Syntax
    'Declaration
     
    
    Function DrawCamera( _
       ByVal camera As ICamera, _
       Optional ByVal width As Integer, _
       Optional ByVal height As Integer _
    ) As ImageBrush
    'Usage
     
    
    Dim instance As IDrawingSurface
    Dim camera As ICamera
    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