UiPath Documentation
activities
latest
false

Productivity activities

DeleteText

Deletes text or whole sections from a Google document.

Namespace: UiPath.GSuite.Activities.API

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

Overloads

OverloadDescription
DeleteText(IDocument, String, Boolean, TextRecurrences)Deletes searched text from the whole Google document.
DeleteText(IDocument, String, Boolean, TextMatchMode)Deletes the whole section from the Google document.

DeleteText(IDocument, String, Boolean, TextRecurrences)

Deletes searched text from the whole Google document.

void DeleteText(
	IDocument document,
	string text,
	bool matchCase = false,
	TextRecurrences recurrences = TextRecurrences.Once
)
void DeleteText(
	IDocument document,
	string text,
	bool matchCase = false,
	TextRecurrences recurrences = TextRecurrences.Once
)

document IDocument : The Google document to delete text from.

text String : The searched text to delete.

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

recurrences TextRecurrences (Optional) : How many recurrences to delete.

DeleteText(IDocument, String, Boolean, TextMatchMode)

Deletes the whole section from the Google document.

void DeleteText(
	IDocument document,
	string sectionName,
	bool matchCase = false,
	TextMatchMode textMatchMode = TextMatchMode.Contains
)
void DeleteText(
	IDocument document,
	string sectionName,
	bool matchCase = false,
	TextMatchMode textMatchMode = TextMatchMode.Contains
)

document IDocument : The Google document to delete text from.

sectionName String : The section name that will be deleted.

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

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

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated