Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Drawing Namespace / GdiPlusDrawingContext Class / DrawCamera Method
The camera object.
The width of the target picture.
The height of the target picture.


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

    Parameters

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

    Return Value

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