This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Input and Output / Formatting Functions /

ToBoxes

FilledSmallSquare ToBoxes[expr] generates boxes corresponding to the printed form of expr in StandardForm.

FilledSmallSquare ToBoxes[expr, form] gives the boxes corresponding to output in the specified form.

FilledSmallSquare ToBoxes uses any relevant definitions given for Format and MakeBoxes.

FilledSmallSquare You can see how box structures generated by ToBoxes would be displayed by using DisplayForm.

FilledSmallSquare See Section 2.9.3.

FilledSmallSquare See also: ToString, ToExpression, MakeBoxes, HoldForm, DisplayForm.

FilledSmallSquare New in Version 3.