Download Image Activity

Description:

Downloads a requested resource at the specified URI as an image.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.AsyncCodeActivity
      Geocortex.Workflow.Activities.DownloadImage

Function:

This activity allows you to perform a request to download an image as a Bitmap.

A Bitmap object cannot be serialized. You must ensure that all Bitmap variables in your workflow are set to null/Nothing or go out of scope prior to running any external activities. If a Bitmap variable has a value when your workflow encounters an external activity, such as Alert or Display Form, the workflow will fail with a serialization error.

In a Workflow:

You would use this activity to download an image to add to a DataTable that you would then pass to a Template Report activity.

Properties:

Name Description

In Arguments

Credentials

The network credentials that are sent to the host and used to authenticate the request.

Uri

The absolute URI of the image resource to download. Relative URIs are not supported.

Misc

Display Name

DownloadImage

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments

Result

The result image as a Bitmap.

Version Information:

Supported from: Geocortex Essentials 3.10.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11