Spread for ASP.NET 7.0 Product Documentation
DrawBackgroundImage Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BaseCellType Class : DrawBackgroundImage Method


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

Glossary Item Box

Draws the background image to PDF.

Syntax

Visual Basic (Declaration) 
Protected Function DrawBackgroundImage( _
   ByVal g As PdfGraphics, _
   ByVal r As RectangleF, _
   ByVal appearance As Appearance, _
   ByVal isLocked As Boolean _
) As RectangleF
Visual Basic (Usage)Copy Code
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)
C# 
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.