DFrameStyle : setMBordersWidth

 

DFrameStyle : setIBordersType

DFrameStyle : setIBordersWidth

DFrameStyle : setIBordersColor

The borders of a DFrame are external borders.

It is possible to have internal borders in a DFrame: The iBorders.

The area between external and internal borders are the mBorders.

DFrameStyle.setMBordersWidth: Set the width of mBorders

DFrameStyle.setIBorders: Set the type of iBorders

DFrameStyle.setIBordersWidth: Set the width of iBorders

DFrameStyle.setIBordersColor: Set the color of mBorders

Demo

file: IandMBorders.html

Run the example
See the source code

Syntaxes

DFrameStyle.setMBordersWidth(number)

DFrameStyle.setIBorders(string)

DFrameStyle.setIBordersWidth(number)

DFrameStyle.setIBordersColor(color)

Parameters

number

Integer. The width of borders.

string

setIBordersType method.

§         'ThreeD' (not sensitive): Create a 3D effect for the borders. See  setBordersLightThreeD and setBordersDarkThreeD to set the colors of 3D borders.

§         'ThreeDInv' (not case sensitive) to create a 'pushed button' effect.

§         Empty string (default): Use the colors set by the setBordersColor method.

color

In hexa RGB code or browser compatible code. Use null or a empty string for transparent color.

Comment

The mBorder is not a real object. It is only a free space between the external borders and the iBorders or the added DFrame. So the bgImage and bgColor are the one of the DFrame.