SaveBitmap

Saves a bitmap to the local drive.

void SaveBitmap(string pathName);

Parameters

pathName:The filename or full path to save the bitmap to.

Return Value

None.

Remarks

If only a filename is given it saves the file in the data\Files folder for the project i.e. in code the same as Datapath + "Files\\" + pathName;

Example

wordWindow = FindTopWindow("Document1 - Microsoft Word");

Control toolbar = wordWindow.FindControl("Standard", TextMatch.Exact);

toolbar.SaveBitmap("word_bar.bmp"); // this will save a bitmap of the window with the specified handle

Related:

 

This topic was last updated on June 10, 2020, at 03:02:15 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant