<< Return to Main Index

< Return to Class Index

CGXStyle::SetBorders

CGXStyle& SetBorders(GXBorderType border, const CGXPen& pen);

border

Specifies the border: gxBorderTop, gxBorderLeft, gxBorderBottom or gxBorderRight.

pen

A reference to the pen to be used as border.

Return Value

Returns the this pointer.

Remarks

Initializes the pen object for the specified border.

A cell has four borders. Each border can have a different pen type.

See Also

CGXPen

CGXStyle

Class Overview | Class Members