Class TextElement
A TextElement describes the content of a range of indices in the text content of a Shape or TableCell.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class TextElement : IDirectResponseSchema
Properties
AutoText
A TextElement representing a spot in the text that is dynamically replaced with content that can change over time.
Declaration
[JsonProperty("autoText")]
public virtual AutoText AutoText { get; set; }
Property Value
Type | Description |
---|---|
AutoText |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndIndex
The zero-based end index of this text element, exclusive, in Unicode code units.
Declaration
[JsonProperty("endIndex")]
public virtual int? EndIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
ParagraphMarker
A marker representing the beginning of a new paragraph. The start_index
and end_index
of this
TextElement represent the range of the paragraph. Other TextElements with an index range contained inside
this paragraph's range are considered to be part of this paragraph. The range of indices of two separate
paragraphs will never overlap.
Declaration
[JsonProperty("paragraphMarker")]
public virtual ParagraphMarker ParagraphMarker { get; set; }
Property Value
Type | Description |
---|---|
ParagraphMarker |
StartIndex
The zero-based start index of this text element, in Unicode code units.
Declaration
[JsonProperty("startIndex")]
public virtual int? StartIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
TextRun
A TextElement representing a run of text where all of the characters in the run have the same TextStyle. The
start_index
and end_index
of TextRuns will always be fully contained in the index range of a single
paragraph_marker
TextElement. In other words, a TextRun will never span multiple paragraphs.
Declaration
[JsonProperty("textRun")]
public virtual TextRun TextRun { get; set; }
Property Value
Type | Description |
---|---|
TextRun |