Class InsertTextRequest
Inserts text into a shape or a table cell.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class InsertTextRequest : IDirectResponseSchema
Properties
CellLocation
The optional table cell location if the text is to be inserted into a table cell. If present, the object_id must refer to a table.
Declaration
[JsonProperty("cellLocation")]
public virtual TableCellLocation CellLocation { get; set; }
Property Value
Type | Description |
---|---|
TableCellLocation |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InsertionIndex
The index where the text will be inserted, in Unicode code units, based on TextElement indexes. The index is zero-based and is computed from the start of the string. The index may be adjusted to prevent insertions inside Unicode grapheme clusters. In these cases, the text will be inserted immediately after the grapheme cluster.
Declaration
[JsonProperty("insertionIndex")]
public virtual int? InsertionIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
ObjectId
The object ID of the shape or table where the text will be inserted.
Declaration
[JsonProperty("objectId")]
public virtual string ObjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Text
The text to be inserted. Inserting a newline character will implicitly create a new ParagraphMarker at that index. The paragraph style of the new paragraph will be copied from the paragraph at the current insertion index, including lists and bullets. Text styles for inserted text will be determined automatically, generally preserving the styling of neighboring text. In most cases, the text will be added to the TextRun that exists at the insertion index. Some control characters (U+0000-U+0008, U+000C-U+001F) and characters from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
Type | Description |
---|---|
string |