Spread for ASP.NET 12 Product Documentation
DrawBackgroundImage Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseCellType Class : DrawBackgroundImage Method
PDF graphics device
Rectangle boundary of the cell to print
Appearance settings
Whether the cell is marked as locked
Draws the background image to PDF.
Syntax
'Declaration
 
Protected Function DrawBackgroundImage( _
   ByVal g As PdfGraphics, _
   ByVal r As RectangleF, _
   ByVal appearance As Appearance, _
   ByVal isLocked As Boolean _
) As RectangleF
'Usage
 
Dim instance As BaseCellType
Dim g As PdfGraphics
Dim r As RectangleF
Dim appearance As Appearance
Dim isLocked As Boolean
Dim value As RectangleF
 
value = instance.DrawBackgroundImage(g, r, appearance, isLocked)
protected RectangleF DrawBackgroundImage( 
   PdfGraphics g,
   RectangleF r,
   Appearance appearance,
   bool isLocked
)

Parameters

g
PDF graphics device
r
Rectangle boundary of the cell to print
appearance
Appearance settings
isLocked
Whether the cell is marked as locked

Return Value

return true to stop painting text later
See Also

Reference

BaseCellType Class
BaseCellType Members