Skip to main content

XRRichTextBoxBase.LoadFile(String, RichTextBoxStreamType) 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 a specific type of file into the XRRichTextBoxBase control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v25.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public void LoadFile(
    string path,
    RichTextBoxStreamType fileType
)

Parameters

Name Type Description
path String

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

fileType RichTextBoxStreamType

An XRRichTextStreamType enumeration value that determines the type of stream used to load the file into the XRRichTextBoxBase control.

See Also