Click or drag to resize

ImageStreamProviderGetImageStream Method

Gets the content of an image referenced in a TextDocument.

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
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

ImageRenderToStreamResult
The rendering result for the requested image.
See Also