ImageSizeAction

ImageSizeAction
is an option for Pane and related constructs that specifies what to do if the specified ImageSize setting does not match the size of the contents.

DetailsDetails

  • Typical possible settings for ImageSizeAction are:
  • "Clip"clip at the specified ImageSize
    "ResizeToFit"resize to make the contents exactly fit ImageSize
    "Scrollable"make the contents scrollable if necessary
    "ShrinkToFit"shrink if necessary to make the contents fit
  • With ImageSizeAction->"ShrinkToFit", the contents can be made smaller, but never larger.

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

The default for ImageSizeAction is :

In[1]:=
Click for copyable input
Out[1]=

Use to shrink so that all the data fits in the pane:

In[1]:=
Click for copyable input
Out[1]=

shrinks or expands so that the data just fills the pane:

In[1]:=
Click for copyable input
Out[1]=

shrinks but never expands:

In[1]:=
Click for copyable input
Out[1]=
New in 6 | Last modified in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »