Task (123) MAUI PDFViewer UG changes commit#2956
Conversation
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
| {% endhighlight %} | ||
| {% endtabs %} | ||
|
|
||
| ## Loading a PDF in code-behind/programmatically |
There was a problem hiding this comment.
This topic needs to cover in above "In this section".
There was a problem hiding this comment.
moved above Document source types
|
|
||
| ## Loading a PDF in code-behind/programmatically | ||
|
|
||
| In code-behind a PDF can be loaded to [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) just by using the [LoadDocument](https://help.syncfusion.com/cr/document-processing/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_LoadDocument_System_IO_Stream_System_String_System_Nullable_Syncfusion_Maui_PdfViewer_FlattenOptions__) method without the need of the “PdfViewerViewModel” class described in the previous section. Use the following code snippet in the code-behind of the XAML page. |
There was a problem hiding this comment.
why need to mention "without the need of the “PdfViewerViewModel” class ?
| {% endhighlight %} | ||
| {% endtabs %} | ||
|
|
||
|  |
There was a problem hiding this comment.
Wrong path and need to update clear Liquid glass GIF.
| ## Opening a unsupported annotations | ||
|
|
||
| The .NET MAUI PDF Viewer does not currently support annotations comparable to Xamarin.Forms. However, it is possible to view the unsupported annotations in a non-interactive manner. To achieve this, provide the [flattenOptions](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.FlattenOptions.html) (an optional parameter) as [Unsupported](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.FlattenOptions.html#Syncfusion_Maui_PdfViewer_FlattenOptions_Unsupported) in the [LoadDocument](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_LoadDocument_System_IO_Stream_System_String_System_Nullable_Syncfusion_Maui_PdfViewer_FlattenOptions__) methods. See the following code example: | ||
| The .NET MAUI PDF Viewer it is possible to view the unsupported annotations like 3D, rich media and sount annotations in a non-interactive manner. To achieve this, provide the [flattenOptions](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.FlattenOptions.html) (an optional parameter) as [Unsupported](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.FlattenOptions.html#Syncfusion_Maui_PdfViewer_FlattenOptions_Unsupported) in the [LoadDocument](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html#Syncfusion_Maui_PdfViewer_SfPdfViewer_LoadDocument_System_IO_Stream_System_String_System_Nullable_Syncfusion_Maui_PdfViewer_FlattenOptions__) methods. See the following code example: |
There was a problem hiding this comment.
This annotation will be rendered like speaker image https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-annotations#sound-annotation
There was a problem hiding this comment.
Can you spell check it.
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
Build Status: INQUEUE 🕒 |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
|
||
| # Flatten form fields on save | ||
|
|
||
| The FlattenOnSave property allows you to convert form fields into non-editable content when the PDF document is saved. This ensures that the form field values become part of the document and cannot be modified further. |
There was a problem hiding this comment.
Add API document link for the FlattenOnSave property.
|
|
||
| The FlattenOnSave property allows you to convert form fields into non-editable content when the PDF document is saved. This ensures that the form field values become part of the document and cannot be modified further. | ||
|
|
||
| ## Flatten specific form fields |
There was a problem hiding this comment.
We need to clearly mention at fist in title and description regarding flatten will works only on saving.
There was a problem hiding this comment.
changed to following
Title:Flatten Form Fields Only on Save
Description: The FlattenOnSave property converts form fields into non-editable content only when the PDF document is saved. This means the form fields remain editable while the document is open, and are flattened (made part of the document content) during the save operation, preventing any further modification afterward.
|
|
||
| This section will go through how to add text markup annotations to a PDF document interactively as well as programmatically to a PDF document. | ||
|
|
||
| ## Add text markup using the toolbar |
There was a problem hiding this comment.
This need to be subtopic right?
|
The running CI Job is terminated due to changes committed on the source branch for this Merge Request and CI triggered for latest commit. |
|
CI Status: ABORTED ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
The running CI Job is terminated due to changes committed on the source branch for this Merge Request and CI triggered for latest commit. |
|
CI Status: ABORTED ❌ |
|
Build Status: INPROGRESS 🔃 |
|
The running CI Job is terminated due to changes committed on the source branch for this Merge Request and CI triggered for latest commit. |
|
CI Status: ABORTED ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: SUCCESS ✅ |
| 1. Import the control namespace `Syncfusion.Maui.PdfViewer`, and then add the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) control inside the `<ContentPage.Content>` tag as follows. | ||
| 1. Import the control namespace `Syncfusion.Maui.PdfViewer`, | ||
| 2. Add the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) control inside the `<ContentPage.Content>` tag. | ||
| 2. Name the PDF viewer control as `pdfViewer`. |
There was a problem hiding this comment.
This need to 3rd point.
| } | ||
| {% endhighlight %} | ||
| {% highlight vbnet %} | ||
| Private Sub Unload_Click(sender As Object, e As RoutedEventArgs) |
There was a problem hiding this comment.
is this code correct?
|
|
||
| # Getting Started with UWP PDF Viewer (SfPdfViewer) | ||
| This section explains about the assemblies required for the deployment of SfPdfViewer and how to create simple application using the SfPdfViewer control. | ||
| This section explains about the assemblies required for the deployment of [UWP PDF Viewer]() (SfPdfViewer) and how to create simple application using the SfPdfViewer control. |
There was a problem hiding this comment.
Seems API link missing.
| <a href="/document-processing/pdf/pdf-viewer/uwp/overview">UWP</a> | ||
| <ul> | ||
| <li><a href="/document-processing/pdf/pdf-viewer/uwp/overview">Overview</a></li> | ||
| <li><a href="/document-processing/pdf/pdf-viewer/uwp/getting-started">Getting Started</a></li> |
There was a problem hiding this comment.
Newly added page needs to add in the TOC.
|
Build Status: INQUEUE 🕒 |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
|
Build Status: INPROGRESS 🔃 |
|
CI Status: FAILURE ❌ |
Edited the MAUI PDFViewer UG documentations