UiPath Documentation
activities
latest
false

Productivity activities

InsertImage

Inserts an image from Google Drive into a Google document.

Namespace: UiPath.GSuite.Activities.API

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

Syntax

void InsertImage(
	IDocument document,
	IFile imageFile,
	TextLocation location = TextLocation.Beginning,
	string sectionName = null,
	bool matchCase = false,
	TextMatchMode textMatchMode = TextMatchMode.Contains
)
void InsertImage(
	IDocument document,
	IFile imageFile,
	TextLocation location = TextLocation.Beginning,
	string sectionName = null,
	bool matchCase = false,
	TextMatchMode textMatchMode = TextMatchMode.Contains
)

Parameters

document IDocument : The Google document to insert the image into.

imageFile IFile : The image file from Google Drive.

location TextLocation (Optional) : The location in the document where the image is inserted.

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

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