ImageMargins

ImageMargins

is an option that specifies the absolute margins to leave around the image displayed for an object.

Details

  • Settings for ImageMargins are given in printer's points.
  • Margins specified by ImageMargins appear outside the region defined by ImageSize.
  • Possible settings for ImageMargins are:
  • Automaticmargins to be determined by where the object appears
    mthe same margins on all sides
    {{left,right},{bottom,top}}different margins on different sides
  • ImageMargins can be used in functions such as Graphics and Export, as well as for objects such as Cell, Button, and Slider.
  • For Cell, ImageMargins represents space to be left inside whatever CellMargins are specified for a particular cell.

Examples

open allclose all

Basic Examples  (3)

No margins outside of ImageSize:

Have 20-point margins on all sides:

Leave different margins on each side:

Properties & Relations  (2)

ImageMargins is defined outside of ImageSize:

ImagePadding is defined within ImageSize:

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

Text

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

CMS

Wolfram Language. 1996. "ImageMargins." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ImageMargins.html.

APA

Wolfram Language. (1996). ImageMargins. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageMargins.html

BibTeX

@misc{reference.wolfram_2023_imagemargins, author="Wolfram Research", title="{ImageMargins}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ImageMargins.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_imagemargins, organization={Wolfram Research}, title={ImageMargins}, year={2007}, url={https://reference.wolfram.com/language/ref/ImageMargins.html}, note=[Accessed: 19-March-2024 ]}