# 4.1.1  插入文本框

文本框有横排和垂直两种，两者的使用是有区别的。

一般的情况，压缩横排文本框的水平长度是可以制造出垂直文本框的效果的，但无法拉伸横排文本框的垂直长度。同样的，可以改变垂直文本框的垂直长度，但是无法拉伸垂直文本框的水平长度。

这是由于文本框的本质而决定的性质，文本框内需要内容存在，才能使文本框存在，要不然文本框会是一个透明的状态。文本框的某一面的大小也是由内容决定的，横排文本框可以自由拉伸文本框的水平长度，垂直文本框可以自由拉伸文本框的垂直长度，另外的长度大小则是靠文本框中内容控制，没有内容是无法改变其他长度的。

文本框和占位符有很大的不同，它们的名字就包含了它们之间的差别。但在平时，我们一般建议使用文本框，自由灵活，可操作性强，在进行比较精致的排版时，文本框的使用是必不可少的。

如图4-1所示。

![img](/files/-LmP-UD5heKgKtm8B1UD)

图4-1 点击“文本框”下的倒三角选择文本框类别，若直接单击“文本框”，将自动默认选择使用上一次的选择，若没有进行过此操作，将默认选择“横排文本框”。

当你需要经常使用此功能时，点击鼠标右键将此功能添加到“快速访问工具栏”内。

我们在使用插入文本框时，一般会使用另一种插入方式，“插入”选项卡——>“插图”组——>“形状”，如图4-2所示。

![img](/files/-LmP-UDAOmtQeUa1YpGA)

图4-2 这种插入方式不仅可以插入文本框，而且集合了各类图形，所以一般我们不单独去使用插入文本框选项，把“形状”功能添加到“快速访问工具栏”，对我们使用PPT比较有帮助，图形毕竟是我们在使用PPT的常用功能。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://purelife.gitbook.io/little-design-powerpoint/part-1-ji-chu-pian/chapter4/chapter4-1/chapter4-1-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
