ContentSize
是 Manipulate,Labeled 及其它函数的一个选项,指定使用的内容区域的尺寸.
更多信息
- 可以给出下列设置:
-
w 由 w 指定宽度 UpTo[s] 由 s 指定最大宽度和高度 {w,h} 明确的宽度和高度 {UpTo[wmax],UpTo[hmax]} 最大高度和宽度 {{wmin,wmax},{hmin,hmax}} 宽度和高度范围 - 高度和宽度的指定可以是以下任何形式:
-
Automatic 自动调整大小 d d 个打印机点 (缩放前) 72di di 英寸 (缩放前) Full 填充封闭区域 Scaled[s] 封闭区域的 s 的尺度坐标 - 在设置 ContentSize->Automatic 时,类似 Manipulate 和 Labeled 的函数使用适合给定内容的内容区域,也允许为控件和标签预留区域.内容区域从不大于现有笔记本或其它区域.
- ContentSize->UpTo[s] 等价于 ContentSize->{UpTo[s],UpTo[s]}.
- ContentSize->{UpTo[s],Automatic} 指定最大宽度,但是允许增长高度以容纳内容.
- 如果 ContentSize 指定的内容区域不完全适合内容,一些函数可能显示一个可调整的区域,并在必要时显示滚动条.
文本
Wolfram Research (2008),ContentSize,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ContentSize.html (更新于 2025 年).
CMS
Wolfram 语言. 2008. "ContentSize." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2025. https://reference.wolfram.com/language/ref/ContentSize.html.
APA
Wolfram 语言. (2008). ContentSize. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ContentSize.html 年
BibTeX
@misc{reference.wolfram_2025_contentsize, author="Wolfram Research", title="{ContentSize}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ContentSize.html}", note=[Accessed: 21-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_contentsize, organization={Wolfram Research}, title={ContentSize}, year={2025}, url={https://reference.wolfram.com/language/ref/ContentSize.html}, note=[Accessed: 21-April-2026]}