Controls how the viewer treats soft line breaks found in the text.
public DocumentViewerLineSelectionMode LineSelectionMode { get; set; }
public:
property DocumentViewerLineSelectionMode^ LineSelectionMode
{
DocumentViewerLineSelectionMode^ get()
void set(DocumentViewerLineSelectionMode^ value)
}
Controls how the viewer treats soft line breaks found in the text. The default value is DocumentViewerLineSelectionMode.Auto.
When the original text has multiple columns, the last character of each column will have the value of DocumentCharacter.IsLineBreak set to true. Use LineSelectionMode to control how the user interface (in this case, DocumentViewerSelectTextInteractiveMode) selects the text.
If the value is set to Columns and the user clicks and drags the selection area, the line is selected in the column and when a soft line break is encountered, the selection moves to the next line in the column. This continues until the last line in that column in the text is selected and then selection will continue to the adjacent column (if any). This is the recommended behavior for most document types.
If the value is set to FlowText and the user clicks and drags the selection area, the line is selected in the column and and soft line breaks are ignored. Therefore, the adjacent line in the next column is selected next. This behavior is recommended when the text is of tabular nature, such as a spreadsheet.
If the value is set to Auto (the default value), the document viewer uses the current document type to set the line selection mode. This is performed by checking the value of LEADDocument.MimeType and based on that value, deciding whether to use Columns or FlowText.
When Auto is selected, the document viewer will use Columns for all document types and FlowText when the document mime type is a Microsoft Excel document (either "application/vnd.ms-excel" or "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet").
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.