Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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