Hi,
Is it possible to save an SF Diagram as an image and use the resulting image in a Syncfusion PDF Document?
Thank you!
Hi Raymond,
We are glad to announce that our Essential Studio 2022 Volume 1 Main Release V20.1.0.47 is rolled out and is available for download under the following link.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Please find the API details to get the saved image stream from below,
|
<Grid> <sfDiagram:SfDiagram x:Name="diagram" Loaded="Diagram_Loaded" /> </Grid>
private async void Diagram_Loaded(object sender) { Stream stream = new MemoryStream(); await diagram.SaveAsImageAsync(stream, ImageFormat.Png); } |
Regards,
Gayathri R