ImageStreamProviderGetImageStream Method |
Namespace: Altaxo.TextAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public ImageRenderToStreamResult GetImageStream(
Stream stream,
string url,
double targetResolution,
string altaxoFolderLocation,
IReadOnlyDictionary<string, MemoryStreamImageProxy> localImages
)
Parameters
- stream Stream
- The stream to copy the content to.
- url String
- The URL of the image, as occuring in a link tag in the TextDocument.
- targetResolution Double
- The target resolution in dpi.
- altaxoFolderLocation String
- The folder location of the TextDocument It is used for searching graphs relative to that location.
- localImages IReadOnlyDictionaryString, MemoryStreamImageProxy
- The local images of the TextDocument.
Return Value
ImageRenderToStreamResultA tuple of tree values. isStreamImage is true if the url could be resolved to an image. extension is the file extension of the image. errorMessage is unequal to null if an error has occured. In this case the content of
stream was not set.
See Also