ImageGear for .NET
GetImage Method
See Also  Send Feedback
ImageGear20.Web.Services Assembly > ImageGear.Web.DataProviders Namespace > ImageDataProvider Class : GetImage Method




documentIdentifier

A string that uniquely identifies a single image file.

Glossary Item Box

Retrieves the image specified in the parameter DocumentIdentifier. This call is being deprecated. Please use OpenImageData() instead.This method does not support multiple provider model!!

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

documentIdentifier

A string that uniquely identifies a single image file.

Return Value

A stream of binary image data

Remarks

The documentIdentifier specifies the identifier for the image to be retrieved. This can represent an image file, a valid file URL or database table data field. Whatever is specified, the viewer will retrieve and display the image specified by this parameter.

The DocumentIdentifier value can depend on the image data provider that you are using. For details, refer to DocumentIdentifier property in "ImageGear.Web.UI.PageView.DocumentIdentifier" in this help document.

An Image Data Provider must be specified in the web.config file. For details refer to the "web.config settings for PageView and ThumbnailView" section."

Note: If you are writing a custom provider derived from this class, then make sure this method returns a binary image data stream.

See Also

©2013. Accusoft Corporation. All Rights Reserved.