UiPath Documentation
activities
latest
false

Productivity activities

WriteText

Writes text to a Google document.

Namespace: UiPath.GSuite.Activities.API

Assembly: UiPath.GSuite.Activities.API (in UiPath.GSuite.Activities.API.dll)

Syntax

void WriteText(
	IDocument document,
	string text,
	TextStyle style = TextStyle.NormalText,
	TextLocation location = TextLocation.Beginning,
	string sectionName = null,
	bool matchCase = false,
	TextMatchMode textMatchMode = TextMatchMode.Contains
)
void WriteText(
	IDocument document,
	string text,
	TextStyle style = TextStyle.NormalText,
	TextLocation location = TextLocation.Beginning,
	string sectionName = null,
	bool matchCase = false,
	TextMatchMode textMatchMode = TextMatchMode.Contains
)

Parameters

document IDocument : The Google document to write text to.

text String : The text to write to the Google document.

style TextStyle (Optional) : The style to apply to the written text.

location TextLocation (Optional) : The location in which to write the text relative to the section/document.

sectionName String (Optional) : The name of the section relative to the location. If null, the whole document will be used instead.

matchCase Boolean (Optional) : Specifies if the sectionName should also match case.

textMatchMode TextMatchMode (Optional) : Specifies how to match the sectionName.

  • Syntax
  • Parameters

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated