Spread ASP.NET 6.0 Product Documentation
Paint Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Border Class : Paint Method


g
Graphics device interface
x
X-coordinate for the top left corner
y
Y-coordinate for the top left corner
width
Width of the border, in pixels
height
Height of the border, in pixels
rightToLeft
Whether right-to-left orientation

Glossary Item Box

Paints the border inside the specified rectangle.

Syntax

Visual Basic (Declaration) 
Public Sub Paint( _
   ByVal g As PdfGraphics, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal rightToLeft As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As Border
Dim g As PdfGraphics
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
Dim rightToLeft As Boolean
 
instance.Paint(g, x, y, width, height, rightToLeft)
C# 
public void Paint( 
   PdfGraphics g,
   float x,
   float y,
   float width,
   float height,
   bool rightToLeft
)

Parameters

g
Graphics device interface
x
X-coordinate for the top left corner
y
Y-coordinate for the top left corner
width
Width of the border, in pixels
height
Height of the border, in pixels
rightToLeft
Whether right-to-left orientation

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.