ISystemSpecifics Interface

Platform specific fields and methods.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
public interface ISystemSpecifics

Properties

DoubleClickTime Maximum time spent between two mouse clicks to handle action as a double click.
PaperId Default ID of the paper size on print out.
PaperSize Default paper size on print out.
Platform Current platform type.
ScrollbarWidth Width of the system scrollbars.

Methods

BitmapFromResources Retrieves a bitmap from resources.
BitmapToStream Save a given bitmap to stream.
FileToBitmap Loads a bitmap from given file name.
OpenUrl Native way to open url.
ShowAlert Native way to show alert message.
StreamToBitmap(Stream) Creates a bitmap from given stream.
StreamToBitmap(Stream, Boolean) Creates a bitmap from given stream.

See Also