C# Class VisionAPI_WPF_Samples.ThumbnailPage

Interaction logic for ThumbnailPage.xaml
Inheritance: ImageScenarioPage
Afficher le fichier Open project: Microsoft/ProjectOxford-ClientSDK

Méthodes publiques

Méthode Description
ThumbnailPage ( ) : System

Méthodes protégées

Méthode Description
DoWork ( Uri imageUri, bool upload ) : System.Threading.Tasks.Task

Perform the work for this scenario

Private Methods

Méthode Description
ThumbnailUrl ( string imageUrl, int width, int height, bool smartCropping ) : Task

Sends a url to Project Oxford and generates a thumbnail

UploadAndThumbnailImage ( string imageFilePath, int width, int height, bool smartCropping ) : Task

Uploads the image to Project Oxford and generates a thumbnail

Method Details

DoWork() protected méthode

Perform the work for this scenario
protected DoWork ( Uri imageUri, bool upload ) : System.Threading.Tasks.Task
imageUri System.Uri The URI of the image to run against the scenario
upload bool Upload the image to Project Oxford if [true]; submit the Uri as a remote url if [false];
Résultat System.Threading.Tasks.Task

ThumbnailPage() public méthode

public ThumbnailPage ( ) : System
Résultat System