Show / Hide Table of Contents

Class InsertTextRequest

Inserts text at the specified location.

Inheritance
object
InsertTextRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Docs.v1.Data
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class InsertTextRequest : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EndOfSegmentLocation

Inserts the text at the end of a header, footer, footnote or the document body.

Declaration
[JsonProperty("endOfSegmentLocation")]
public virtual EndOfSegmentLocation EndOfSegmentLocation { get; set; }
Property Value
Type Description
EndOfSegmentLocation

Location

Inserts the text at a specific index in the document. Text must be inserted inside the bounds of an existing Paragraph. For instance, text cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). The text must be inserted in the preceding paragraph.

Declaration
[JsonProperty("location")]
public virtual Location Location { get; set; }
Property Value
Type Description
Location

Text

The text to be inserted. Inserting a newline character will implicitly create a new Paragraph 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 style for the inserted text will match the text immediately before 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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX