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.

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":

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:

Wolfram Research (2007), ImageSizeAction, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageSizeAction.html (updated 2008).

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_2024_imagesizeaction, author="Wolfram Research", title="{ImageSizeAction}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/ImageSizeAction.html}", note=[Accessed: 12-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_imagesizeaction, organization={Wolfram Research}, title={ImageSizeAction}, year={2008}, url={https://reference.wolfram.com/language/ref/ImageSizeAction.html}, note=[Accessed: 12-November-2024 ]}