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

ImageSizeAction

Updated In 7 Graphic
ImageSizeAction
is an option for Pane and related constructs which specifies what to do if the specified ImageSize setting does not match the size of the contents.
"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.
The default for ImageSizeAction is "Clip":
Use "ShrinkToFit" to shrink so that all the data fits in the pane:
"ResizeToFit" shrinks or expands so that the data just fills the pane:
"ShrinkToFit" shrinks but never expands:
The default for ImageSizeAction is "Clip":
In[1]:=
Click for copyable input
Out[1]=
 
Use "ShrinkToFit" to shrink so that all the data fits in the pane:
In[1]:=
Click for copyable input
Out[1]=
 
"ResizeToFit" shrinks or expands so that the data just fills the pane:
In[1]:=
Click for copyable input
Out[1]=
 
"ShrinkToFit" shrinks but never expands:
In[1]:=
Click for copyable input
Out[1]=
New in 6 | Last modified in 7