File tree Expand file tree Collapse file tree 3 files changed +6
-48
lines changed
BlazorWebApp/BlazorWebApp.Client/Pages
BlazorWebAssemblyApp/Pages Expand file tree Collapse file tree 3 files changed +6
-48
lines changed Original file line number Diff line number Diff line change 11@page " /"
22
3- @using Syncfusion .Blazor .Buttons
4-
5- <div style =" padding-bottom : 15px " >
6- <SfButton OnClick =" ExportAsync" >Export</SfButton >
7- </div >
8-
93<SfImageEditor @ref =" ImageEditor" Height =" 400" >
104 <ImageEditorEvents Created =" OpenAsync" ></ImageEditorEvents >
115</SfImageEditor >
1812 {
1913 if (ImageEditor != null )
2014 {
21- await ImageEditor .OpenAsync (" Nature.jpg " );
15+ await ImageEditor .OpenAsync (" https://blazor.syncfusion.com/demos/_content/blazor_server_common_net8/images/image-editor/desktop.png " );
2216 }
2317 }
2418
25- private async void ExportAsync ()
26- {
27- if (ImageEditor != null )
28- {
29- await ImageEditor .ExportAsync (" Syncfusion" , ImageEditorFileType .PNG );
30- }
31- }
32- }
19+ }
Original file line number Diff line number Diff line change 11@page " /"
22
3- @using Syncfusion .Blazor .Buttons
4-
5- <div style =" padding-bottom : 15px " >
6- <SfButton OnClick =" ExportAsync" >Export</SfButton >
7- </div >
8-
93<SfImageEditor @ref =" ImageEditor" Height =" 400" >
104 <ImageEditorEvents Created =" OpenAsync" ></ImageEditorEvents >
115</SfImageEditor >
1812 {
1913 if (ImageEditor != null )
2014 {
21- await ImageEditor .OpenAsync (" Nature.jpg" );
22- }
23- }
24-
25- private async void ExportAsync ()
26- {
27- if (ImageEditor != null )
28- {
29- await ImageEditor .ExportAsync (" Syncfusion" , ImageEditorFileType .PNG );
15+ await ImageEditor .OpenAsync (" https://blazor.syncfusion.com/demos/_content/blazor_server_common_net8/images/image-editor/desktop.png" );
3016 }
3117 }
32- }
3318
19+ }
Original file line number Diff line number Diff line change 11@page " /"
22
3- @using Syncfusion .Blazor .Buttons
4-
5- <div style =" padding-bottom : 15px " >
6- <SfButton OnClick =" ExportAsync" >Export</SfButton >
7- </div >
8-
93<SfImageEditor @ref =" ImageEditor" Height =" 400" >
104 <ImageEditorEvents Created =" OpenAsync" ></ImageEditorEvents >
115</SfImageEditor >
1812 {
1913 if (ImageEditor != null )
2014 {
21- await ImageEditor .OpenAsync (" Nature.jpg " );
15+ await ImageEditor .OpenAsync (" https://blazor.syncfusion.com/demos/_content/blazor_server_common_net8/images/image-editor/desktop.png " );
2216 }
2317 }
24-
25- private async void ExportAsync ()
26- {
27- if (ImageEditor != null )
28- {
29- await ImageEditor .ExportAsync (" Syncfusion" , ImageEditorFileType .PNG );
30- }
31- }
32- }
33-
18+ }
You can’t perform that action at this time.
0 commit comments