Mathematica > Graphics Shape & Size >

ImageSizeAction

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
"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":
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team