({{, (RefLink[CellFrame, paclet:ref/CellFrame])
is an option for (RefLink[Cell, paclet:ref/Cell]) that specifies whether a frame should be drawn around a cell. }})

OpenersNotesSection(Spacer1)Details

The option is specified as the thickness of the frame in points. A value of 0 indicates no frame.

Possible settings are:

The space left between the frame and the cell contents is determined by (RefLink[CellFrameMargins, paclet:ref/CellFrameMargins]). The color of the frame is determined by (RefLink[CellFrameColor, paclet:ref/CellFrameColor]).

Dingbats go outside the frame.

(RefLink[None, paclet:ref/None]), (RefLink[False, paclet:ref/False]), or 0 are equivalent values that prevent the frame from drawing. (RefLink[True, paclet:ref/True]) is equivalent to a value of 1.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Specify a default cell frame:

CellPrint[TextCell[StringJoin[Table["abcd ",{20}]],"Text",CellFrame->True,CellMargins->{{200,200},{10,10}}]]

abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd

Specify frame thickness in points:

CellPrint[Table[TextCell[StringJoin[Table["abcd ",{20}]],"Text",CellFrame->t,CellMargins->{{200,200},{10,10}}],{t,1,2}]]

abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd

abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd

Specify different thicknesses for different edges:

CellPrint[TextCell[StringJoin[Table["abcd ",{20}]],"Text",CellFrame->{{2,2},{2,8}},CellMargins->{{200,200},{10,10}}]]

abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd

If an edge has a thickness of zero, it is omitted:

CellPrint[TextCell[StringJoin[Table["abcd ",{20}]],"Text",CellFrame->{{2,2},{0,8}},CellMargins->{{200,200},{10,10}}]]

abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Background, paclet:ref/Background])  ▪  (RefLink[CellDingbat, paclet:ref/CellDingbat])  ▪  (RefLink[FrameBox, paclet:ref/FrameBox])  ▪  (RefLink[CellFrameLabels, paclet:ref/CellFrameLabels])  ▪  (RefLink[CellFrameMargins, paclet:ref/CellFrameMargins])  ▪  (RefLink[CellFrameColor, paclet:ref/CellFrameColor])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Cells as Wolfram Language Expressions, paclet:tutorial/CellsAsWolframLanguageExpressions])}, {▪(RefLinkPlain[Options for Cells, paclet:tutorial/OptionsForCells])}, {▪(RefLinkPlain[Styles and the Inheritance of Option Settings, paclet:tutorial/StylesAndTheInheritanceOfOptionSettings])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Cell Styling Options, paclet:guide/CellStylingOptions])}})}})