Skip to main content

GetStream Method

Get stream to write a screenshot to.

Definition​

Namespace: Avalonia.Diagnostics.Screenshots
Assembly: Avalonia.Diagnostics (in Avalonia.Diagnostics.dll)

protected abstract Task<Stream?> GetStream(
Control control
)
View Source

Parameters​

  Control

Return Value​

Task(Stream)
stream to render the control

See Also​

Reference​

BaseRenderToStreamHandler Class
Avalonia.Diagnostics.Screenshots Namespace