is a notebook option that specifies the size of window that should be used to display a notebook on the screen.
WindowSize
is a notebook option that specifies the size of window that should be used to display a notebook on the screen.
Details
- The following settings can be given:
-
wspec width specified by wspec; height determined automatically{wspec,hspec} width and height specifiedFull full screen
- Specifications for both width and height can be any of the following:
-
Automatic determined by WindowMargins and screen sized d printer's points72di di inches
- The setting for WindowSize changes whenever you resize a window interactively in the front end.
- On most computer systems, the front end does not allow window sizes below a certain minimum value.
- The setting for WindowSize specifies the size of the content area of the window, excluding any frame.
- With WindowSize->Full , a window will be shown full screen on the main monitor where it appears.
Examples
open all close allBasic Examples (2)
Create windows of varying size:
Create a window just large enough to fit the contents:
Scope (1)
Make a window that occupies one-third of the screen width and all of the screen height:
See Also
Tech Notes
Related Guides
Related Workflows
- Display a Notebook in Full Screen
History
Introduced in 1996 (3.0) | Updated in 2007 (6.0)
Text
Wolfram Research (1996), WindowSize, Wolfram Language function, https://reference.wolfram.com/language/ref/WindowSize.html (updated 2007).
CMS
Wolfram Language. 1996. "WindowSize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/WindowSize.html.
APA
Wolfram Language. (1996). WindowSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WindowSize.html
BibTeX
@misc{reference.wolfram_2025_windowsize, author="Wolfram Research", title="{WindowSize}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/WindowSize.html}", note=[Accessed: 04-January-2026]}
BibLaTeX
@online{reference.wolfram_2025_windowsize, organization={Wolfram Research}, title={WindowSize}, year={2007}, url={https://reference.wolfram.com/language/ref/WindowSize.html}, note=[Accessed: 04-January-2026]}