ImageGear21.Web.Services Assembly > ImageGear.Web.DataProviders Namespace > ImageDataProvider Class : GetImage Method |
A string that uniquely identifies a single image file.
'Declaration <ObsoleteAttribute("Please switch to the OpenImageData API")> Public Overridable Function GetImage( _ ByVal documentIdentifier As String _ ) As Stream
'Usage Dim instance As ImageDataProvider Dim documentIdentifier As String Dim value As Stream value = instance.GetImage(documentIdentifier)
[ObsoleteAttribute("Please switch to the OpenImageData API")] public virtual Stream GetImage( string documentIdentifier )
[ObsoleteAttribute("Please switch to the OpenImageData API")] public: virtual Stream* GetImage( string* documentIdentifier )
[ObsoleteAttribute("Please switch to the OpenImageData API")] public: virtual Stream^ GetImage( String^ documentIdentifier )
A string that uniquely identifies a single image file.
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.