Saves the screenshot to a Portable Network Graphics (PNG) file, overwriting the file if it already exists. The full path and file name to save the screenshot to.
(string fileName)
| 46 | /// </summary> |
| 47 | /// <param name="fileName">The full path and file name to save the screenshot to.</param> |
| 48 | public override void SaveAsFile(string fileName) |
| 49 | { |
| 50 | File.WriteAllBytes(fileName, this.AsByteArray); |
| 51 | } |
| 52 | } |
no outgoing calls