Spread Windows Forms 9.0 Product Documentation
Paint Method (IBorderRotationSupport)


Graphics device interface
Top-left location
Bottom-left location
Bottom-right location
Top-right location
Whether layout is right-to-left
Whether to paint border at top
Whether to paint border at bottom
Whether to paint border at right
Whether to paint border at left
Whether to paint border for a diagonal line
X coordinate where the cross diagonal line starts
Y coordinate where the cross diagonal line starts
Width of the cross rectangle
Height of the cross rectangle
Paint orientation border.
Syntax
'Declaration
 
Sub Paint( _
   ByVal g As Graphics, _
   ByVal topleft As Point, _
   ByVal bottomLeft As Point, _
   ByVal bottomRight As Point, _
   ByVal topRight As Point, _
   ByVal rightToLeft As Boolean, _
   ByVal paintTop As Boolean, _
   ByVal paintBottom As Boolean, _
   ByVal paintRight As Boolean, _
   ByVal paintLeft As Boolean, _
   ByVal diagonalUpDownPainting As Boolean, _
   ByVal xCross As Integer, _
   ByVal yCross As Integer, _
   ByVal widthCross As Integer, _
   ByVal heightCross As Integer _
) 
'Usage
 
Dim instance As IBorderRotationSupport
Dim g As Graphics
Dim topleft As Point
Dim bottomLeft As Point
Dim bottomRight As Point
Dim topRight As Point
Dim rightToLeft As Boolean
Dim paintTop As Boolean
Dim paintBottom As Boolean
Dim paintRight As Boolean
Dim paintLeft As Boolean
Dim diagonalUpDownPainting As Boolean
Dim xCross As Integer
Dim yCross As Integer
Dim widthCross As Integer
Dim heightCross As Integer
 
instance.Paint(g, topleft, bottomLeft, bottomRight, topRight, rightToLeft, paintTop, paintBottom, paintRight, paintLeft, diagonalUpDownPainting, xCross, yCross, widthCross, heightCross)
void Paint( 
   Graphics g,
   Point topleft,
   Point bottomLeft,
   Point bottomRight,
   Point topRight,
   bool rightToLeft,
   bool paintTop,
   bool paintBottom,
   bool paintRight,
   bool paintLeft,
   bool diagonalUpDownPainting,
   int xCross,
   int yCross,
   int widthCross,
   int heightCross
)

Parameters

g
Graphics device interface
topleft
Top-left location
bottomLeft
Bottom-left location
bottomRight
Bottom-right location
topRight
Top-right location
rightToLeft
Whether layout is right-to-left
paintTop
Whether to paint border at top
paintBottom
Whether to paint border at bottom
paintRight
Whether to paint border at right
paintLeft
Whether to paint border at left
diagonalUpDownPainting
Whether to paint border for a diagonal line
xCross
X coordinate where the cross diagonal line starts
yCross
Y coordinate where the cross diagonal line starts
widthCross
Width of the cross rectangle
heightCross
Height of the cross rectangle
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

IBorderRotationSupport Interface
IBorderRotationSupport Members

 

 


Copyright © GrapeCity, inc. All rights reserved.