Unit uScreenshot

From Ultibo.org
Jump to: navigation, search

Return to Unit Reference


Description


Ultibo Screenshot Utility unit

Functions to capture all or part of the Ultibo console screen to a bitmap file.

These functions originally appeared in the Ultibo forum and examples of how to use them can be found there:

SaveScreen(Ex): https://ultibo.org/forum/viewtopic.php?f=13&t=313

Constants


None defined

Type definitions


None defined

Public variables


None defined

Function declarations



uScreenshot functions

[Expand]
function SaveScreen(const Filename:String; X,Y,Width,Height,BPP:LongWord):Boolean; inline;
Description: A function for saving all or part of the default Ultibo console screen to a standard bitmap file


[Expand]
function SaveScreenEx(Console:PConsoleDevice; const Filename:String; X,Y,Width,Height,BPP:LongWord):Boolean;
Description: A function for saving all or part of an Ultibo console screen to a standard bitmap file


Return to Unit Reference