You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Convert-Word-to-Image.csproj
Copy file name to clipboardExpand all lines: Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/README.md
+9-24Lines changed: 9 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,30 +8,15 @@ Steps to convert Word document to images in Blazor WebAssembly (WASM)
8
8
9
9
1. Create a new C# Blazor WebAssembly App in Visual Studio.
10
10
2. Install the [Syncfusion.DocIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core) NuGet package as a reference to your Blazor application from [NuGet.org](https://www.nuget.org/).
11
-
3. Install the [SkiaSharp.NativeAssets.WebAssembly](https://www.nuget.org/packages/SkiaSharp.NativeAssets.WebAssembly) NuGet package as a reference to your Blazor application from [NuGet.org](https://www.nuget.org/).
12
-
4. Add the following ItemGroup tag in the [Blazor WASM csproj](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Convert-Word-to-Image.csproj) file.
3. Install the [SkiaSharp.Views.Blazor v2.88.6](https://www.nuget.org/packages/SkiaSharp.Views.Blazor/2.88.6) NuGet package as a reference to your Blazor application from [NuGet.org](https://www.nuget.org/).
19
12
20
13
> **Note:** Install this `wasm-tools` and `wasm-tools-net6` by using `dotnet workload install wasm-tools` and `dotnet workload install wasm-tools-net6` commands in your command prompt respectively, while facing issues related to skiasharp, during runtime.
21
14
22
-
5. Enable the following property in the [Blazor WASM csproj](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Convert-Word-to-Image.csproj) file.
23
-
24
-
```xml
25
-
<PropertyGroup>
26
-
<WasmNativeStrip>true</WasmNativeStrip>
27
-
</PropertyGroup>
28
-
```
29
-
30
-
6. Create a [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Pages/DocIO.razor) file named as DocIO under the **Pages** folder and add the namespaces in the file.
31
-
7. Add the code to create a button.
32
-
8. Create a new async method with the name WordToImage and include the code sample to convert a Word document to images.
33
-
9. Create a [class](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/FileUtils.cs) file with FileUtils name and add the code to invoke the JavaScript action to download the file in the browser.
34
-
10. Add the JavaScript function in the [Index.html](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/wwwroot/index.html) file present under the **wwwroot** folder.
35
-
11. Add the code sample in the [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Shared/NavMenu.razor) file of the Navigation menu in the **Shared** folder.
36
-
12. Rebuild the solution.
37
-
13. Run the application.
15
+
4. Create a [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Pages/DocIO.razor) file named as DocIO under the **Pages** folder and add the namespaces in the file.
16
+
5. Add the code to create a button.
17
+
6. Create a new async method with the name WordToImage and include the code sample to convert a Word document to images.
18
+
7. Create a [class](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/FileUtils.cs) file with FileUtils name and add the code to invoke the JavaScript action to download the file in the browser.
19
+
8. Add the JavaScript function in the [Index.html](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/wwwroot/index.html) file present under the **wwwroot** folder.
20
+
9. Add the code sample in the [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-Image-conversion/Convert-Word-to-image/Blazor/Client-side-application/Convert-Word-to-Image/Shared/NavMenu.razor) file of the Navigation menu in the **Shared** folder.
Copy file name to clipboardExpand all lines: Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/WASM-app/Convert-Word-to-PDF/Convert-Word-to-PDF.csproj
Copy file name to clipboardExpand all lines: Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/WASM-app/README.md
+9-24Lines changed: 9 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,30 +8,15 @@ Steps to convert Word document to PDF in Blazor WebAssembly (WASM)
8
8
9
9
1. Create a new C# Blazor WebAssembly App in Visual Studio.
10
10
2. Install the [Syncfusion.DocIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core) NuGet package as a reference to your Blazor application from [NuGet.org](https://www.nuget.org/).
11
-
3. Install the [SkiaSharp.NativeAssets.WebAssembly](https://www.nuget.org/packages/SkiaSharp.NativeAssets.WebAssembly) NuGet package as a reference to your Blazor application from [NuGet.org](https://www.nuget.org/).
12
-
4. Add the following ItemGroup tag in the [Blazor WASM csproj](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/Convert-Word-to-PDF.csproj) file.
3. Install the [SkiaSharp.Views.Blazor v2.88.6](https://www.nuget.org/packages/SkiaSharp.Views.Blazor/2.88.6) NuGet package as a reference to your Blazor application from [NuGet.org](https://www.nuget.org/).
19
12
20
13
> **Note:** Install this `wasm-tools` and `wasm-tools-net6` by using `dotnet workload install wasm-tools` and `dotnet workload install wasm-tools-net6` commands in your command prompt respectively, while facing issues related to skiasharp, during runtime.
21
14
22
-
5. Enable the following property in the [Blazor WASM csproj](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/Convert-Word-to-PDF.csproj) file.
23
-
24
-
```xml
25
-
<PropertyGroup>
26
-
<WasmNativeStrip>true</WasmNativeStrip>
27
-
</PropertyGroup>
28
-
```
29
-
30
-
6. Create a [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/Pages/DocIO.razor) file named as DocIO under the **Pages** folder and add the namespaces in the file.
31
-
7. Add the code to create a button.
32
-
8. Create a new async method with the name WordToPDF and include the code sample to convert a Word document to PDF.
33
-
9. Create a [class](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/FileUtils.cs) file with FileUtils name and add the code to invoke the JavaScript action to download the file in the browser.
34
-
10. Add the JavaScript function in the [Index.html](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/wwwroot/index.html) file present under the **wwwroot** folder.
35
-
11. Add the code sample in the [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/Shared/NavMenu.razor) file of the Navigation menu in the **Shared** folder.
36
-
12. Rebuild the solution.
37
-
13. Run the application.
15
+
4. Create a [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/Pages/DocIO.razor) file named as DocIO under the **Pages** folder and add the namespaces in the file.
16
+
5. Add the code to create a button.
17
+
6. Create a new async method with the name WordToPDF and include the code sample to convert a Word document to PDF.
18
+
7. Create a [class](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/FileUtils.cs) file with FileUtils name and add the code to invoke the JavaScript action to download the file in the browser.
19
+
8. Add the JavaScript function in the [Index.html](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/wwwroot/index.html) file present under the **wwwroot** folder.
20
+
9. Add the code sample in the [razor](https://github.com/SyncfusionExamples/DocIO-Examples/blob/main/Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Blazor/Client-side-application/Convert-Word-to-PDF/Shared/NavMenu.razor) file of the Navigation menu in the **Shared** folder.
0 commit comments