ImageSizeAction
Details
- 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.
Examples
Basic Examples (4)
The default for ImageSizeAction is "Clip":
Pane[150!, ImageSize -> {100, 100}]Use "ShrinkToFit" to shrink so that all the data fits in the pane:
Pane[150!, ImageSize -> {100, 100}, ImageSizeAction -> "ShrinkToFit"]"ResizeToFit" shrinks or expands so that the data just fills the pane:
Pane[5, ImageSize -> {100, 100}, ImageSizeAction -> "ResizeToFit"]"ShrinkToFit" shrinks but never expands:
Pane[5, ImageSize -> {100, 100}, ImageSizeAction -> "ShrinkToFit"]See Also
Related Guides
Text
Wolfram Research (2007), ImageSizeAction, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageSizeAction.html (updated 2008).
CMS
Wolfram Language. 2007. "ImageSizeAction." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/ImageSizeAction.html.
APA
Wolfram Language. (2007). ImageSizeAction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageSizeAction.html
BibTeX
@misc{reference.wolfram_2026_imagesizeaction, author="Wolfram Research", title="{ImageSizeAction}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/ImageSizeAction.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_imagesizeaction, organization={Wolfram Research}, title={ImageSizeAction}, year={2008}, url={https://reference.wolfram.com/language/ref/ImageSizeAction.html}, note=[Accessed: 12-June-2026]}