Developer Utilities Package >

CellInformation

CellInformation[obj]
gives information about selected cells in the notebook represented by the notebook object obj.
  • CellInformation can give information both about selections within cells, and cells selected as a whole.
  • CellInformation returns a list of rules which include information on cell styles, selection positions, and other features.
Assign a generated notebook object to a symbol:
In[1]:=
Click for copyable input
The style of cells can be read directly from any notebook object with Developer`CellInformation:
In[2]:=
Click for copyable input
Out[2]=
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team