Spread Windows Forms 7.0 Product Documentation
CreateComplexBorder(ComplexBorderSide,ComplexBorderSide,ComplexBorderSide,ComplexBorderSide) Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ComplexBorderFactory Class > CreateComplexBorder Method : CreateComplexBorder(ComplexBorderSide,ComplexBorderSide,ComplexBorderSide,ComplexBorderSide) Method


left
Complex border side (ComplexBorderSide object) to use for the left side
top
Complex border side (ComplexBorderSide object) to use for the top side
right
Complex border side (ComplexBorderSide object) to use for the right side
bottom
Complex border side (ComplexBorderSide object) to use for the bottom side

Glossary Item Box

Creates a complex border with the specified complex border sides for each side.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CreateComplexBorder( _
   ByVal left As ComplexBorderSide, _
   ByVal top As ComplexBorderSide, _
   ByVal right As ComplexBorderSide, _
   ByVal bottom As ComplexBorderSide _
) As ComplexBorder
Visual Basic (Usage)Copy Code
Dim instance As ComplexBorderFactory
Dim left As ComplexBorderSide
Dim top As ComplexBorderSide
Dim right As ComplexBorderSide
Dim bottom As ComplexBorderSide
Dim value As ComplexBorder
 
value = instance.CreateComplexBorder(left, top, right, bottom)
C# 
public ComplexBorder CreateComplexBorder( 
   ComplexBorderSide left,
   ComplexBorderSide top,
   ComplexBorderSide right,
   ComplexBorderSide bottom
)

Parameters

left
Complex border side (ComplexBorderSide object) to use for the left side
top
Complex border side (ComplexBorderSide object) to use for the top side
right
Complex border side (ComplexBorderSide object) to use for the right side
bottom
Complex border side (ComplexBorderSide object) to use for the bottom side

Return Value

Complex border (ComplexBorder object) with the parameters specified

Requirements

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

See Also

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