ApiInlineLvlSdt
表示 ApiInlineLvlSdt 类。
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| AddComment | ApiComment | 向当前内联内容控件添加批注。 |
| AddElement | boolean | 向内联文本内容控件添加元素。 |
| AddListItem | boolean | 向组合框列表或下拉列表添加项目。 |
| AddText | boolean | 向当前内容控件添加文本。 |
| Copy | ApiInlineLvlSdt | 创建内联内容控件的副本。忽略批注、脚注引用、复杂域。 |
| Delete | boolean | 删除内容控件及其内容。如果 keepContent 为 true,则不删除内容。 |
| GetAlias | string | 返回当前容器的别名属性。 |
| GetAppearance | "boundingBox" | "hidden" | 返回内容控件的可视化类型。 |
| GetBackgroundColor | ApiColor | 返回当前内容控件的背景颜色。 |
| GetBorderColor | ApiColor | 返回当前内容控件的边框颜色。 |
| GetClassType | "inlineLvlSdt" | 返回 ApiInlineLvlSdt 类的类型。 |
| GetColor | ApiColor | null | 返回内容控件的标签颜色。 |
| GetDataBinding | XmlMapping | 检索内容控件的数据绑定。 |
| GetDataForXmlMapping | string | 返回用于 XML 映射的内容控件数据。 |
| GetDate | undefined | Date | 从日期选择器内容控件中检索所选日期值,并将其作为 Date 对象返回。 |
| GetDropdownList | ApiContentControlList | 返回组合框/下拉列表内容控件的值列表。 |
| GetElement | ParagraphContent | 使用指定位置返回当前内联文本内容控件的元素。 |
| GetElementsCount | number | 返回当前内联文本内容控件中的元素数量。文本内容 |
| GetId | string | 返回当前内容控件的唯一 ID。 |
| GetInternalId | string | 返回当前内容控件的内部 ID。 |
| GetLabel | number | 返回当前容器的标签属性。 |
| GetLock | SdtLock | 返回当前容器的锁定类型。 |
| GetParentContentControl | ApiBlockLvlSdt | ApiInlineLvlSdt | null | 返回包含当前内容控件的内容控件。 |
| GetParentParagraph | ApiParagraph | null | 返回包含当前内容控件的段落。 |
| GetParentTable | ApiTable | null | 返回包含当前内容控件的表格。 |
| GetParentTableCell | ApiTableCell | null | 返回包含当前内容控件的表格单元格。 |
| GetPlaceholderText | string | 返回当前内联内容控件的占位符文本。 |
| GetRange | ApiRange | 返回表示指定内容控件中包含的文档部分的 Range 对象。 |
| GetTag | string | 返回当前容器的标签属性。 |
| IsCheckBox | boolean | 检查内容控件是否为复选框。 |
| IsCheckBoxChecked | boolean | 确定复选框内容控件当前是选中还是未选中。 |
| IsComboBox | boolean | 检查内容控件是否为组合框列表。 |
| IsDatePicker | boolean | 检查内容控件是否为日期选择器。 |
| IsDropDownList | boolean | 检查内容控件是否为下拉列表。 |
| IsForm | boolean | 检查内容控件是否为表单。 |
| IsPicture | boolean | 检查内容控件是否为图片控件。 |
| MoveCursorOutside | boolean | 将光标放置在当前内容控件之前/之后。 |
| Push | boolean | 向内联文本内容控件的末尾添加元素。 |
| RemoveAllElements | boolean | 从当前内联文本内容控件中删除所有元素。 |
| RemoveElement | boolean | 使用指定位置从当前内联文本内容控件中删除元素。 |
| RemoveListItem | boolean | 从组合框列表或下拉列表中删除项目。 |
| Select | boolean | 选择当前内容控件。 |
| SelectListItem | boolean | 设置组合框列表或下拉列表的选中项。 |
| SetAlias | boolean | 设置当前容器的别名属性。 |
| SetAppearance | 无 | 设置内容控件的可视化类型。 |
| SetBackgroundColor | boolean | 设置当前内容控件的背景颜色。 |
| SetBorderColor | boolean | 设置当前内容控件的边框颜色。 |
| SetCheckBoxChecked | boolean | 设置内容控件的复选框值。 |
| SetColor | boolean | 设置内容控件的标签颜色。 |
| SetDataBinding | boolean | 设置当前内容控件的数据绑定。 |
| SetDate | boolean | 设置日期选择器内容控件的值。 |
| SetDateFormat | boolean | 设置日期选择器内容控件的日期格式。 |
| SetId | boolean | 指定当前内容控件的唯一 ID。 |
| SetLabel | boolean | 向当前内联文本内容控件添加字符串标签。 |
| SetLock | boolean | 设置当前内联文本内容控件的锁定: |
| SetPicture | boolean | 设置图片内容控件的内容(图像)。 |
| SetPictureSize | boolean | 设置内容控件中图片的大小。 |
| SetPlaceholderText | boolean | 设置当前内联内容控件的占位符文本。 |
| SetTag | boolean | 向当前内联文本内容控件添加字符串标签。 |
| SetTextPr | ApiInlineLvlSdt | 将文本设置应用于内容控件的内容。 |
| ToJSON | JSON | 将 ApiInlineLvlSdt 对象转换为 JSON 对象。 |
| UpdateFromXmlMapping | boolean | 使用 XML 映射中的值更新内容控件。 |