Back to Devexpress

PdfViewerCommands.UnderlineSelectedText Property

maui-devexpress-dot-maui-dot-pdf-dot-pdfviewercommands-0a1478d4.md

latest2.1 KB
Original Source

PdfViewerCommands.UnderlineSelectedText Property

Returns the command that underlines selected text with a straight line.

Namespace : DevExpress.Maui.Pdf

Assembly : DevExpress.Maui.Pdf.dll

NuGet Package : DevExpress.Maui.Pdf

Declaration

csharp
public Command UnderlineSelectedText { get; }

Property Value

TypeDescription
Command

A command that underlines selected text with a straight line.

|

Remarks

The UnderlineSelectedText command does not automatically save changes to the document. To invoke the system Save File dialog to allow users to save the current document to the file system, call the PdfViewer.ShowSaveFileDialogAsync method or the PdfViewerCommands.ShowSaveFileDialog command. Users can also save documents in the Share UI. To invoke it, call the PdfViewer.ShareDocumentAsync method or the PdfViewerCommands.ShareDocument command. Call the PdfViewer.SaveDocumentAsync method to save the current document to a stream.

You can also call the PdfViewer.UnderlineSelectedText command to underline selected text.

Refer to the following help topic for more information about selection and highlighting in the PDF viewer control: Select and Highlight Content in DevExpress PDF Viewer for .NET MAUI.

See Also

PdfViewerCommands Class

PdfViewerCommands Members

DevExpress.Maui.Pdf Namespace