OpenTAP 9.25
API Reference
Static Public Member Functions | List of all members
OpenTap.PictureDataExtensions Class Reference

Provide IPicture data from IPictureDataProvider implementations. More...

Static Public Member Functions

static Task< Stream > GetStream (this IPicture picture)
 Get a stream of the picture from the first IPictureDataProvider which returns a non-null. More...
 
static Task< string > GetFormat (this IPicture picture)
 Get the format of the picture from the first IPictureDataProvider which returns a non-null. More...
 

Detailed Description

Provide IPicture data from IPictureDataProvider implementations.

Member Function Documentation

◆ GetFormat()

static Task< string > OpenTap.PictureDataExtensions.GetFormat ( this IPicture  picture)
static

Get the format of the picture from the first IPictureDataProvider which returns a non-null.

Parameters
picture

◆ GetStream()

static Task< Stream > OpenTap.PictureDataExtensions.GetStream ( this IPicture  picture)
static

Get a stream of the picture from the first IPictureDataProvider which returns a non-null.

Parameters
picture

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24