Back to Devexpress

XRRichTextBoxBase.LoadFile(String) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrrichtextboxbase-dot-loadfile-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

XRRichTextBoxBase.LoadFile(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

For internal use. Loads the contents of the Rich Text Format (RTF) file into the XRRichTextBoxBase control.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public void LoadFile(
    string path
)
vb
Public Sub LoadFile(
    path As String
)

Parameters

NameTypeDescription
pathString

A String containing a path to the file to be loaded into the XRRichTextBoxBase control.

|

See Also

XRRichTextBoxBase Class

XRRichTextBoxBase Members

DevExpress.XtraReports.UI Namespace