XRRichTextBoxBase.SaveFile(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. Saves the contents of the XRRichTextBoxBase control to the specified type of file.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v25.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| path | String | A String containing the name and location of the file to save the control’s contents to. |
| fileType | RichTextBoxStreamType | An XRRichTextStreamType enumeration value that identifies the type of stream to save the control’s contents to. |
See Also