VGridControlBase.ExportToRtf(String, RtfExportOptions) Method

Exports the control's data in the Rich Text Format and saves it to the specified RTF file.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public void ExportToRtf(
    string filePath,
    RtfExportOptions options
)
Public Sub ExportToRtf(
    filePath As String,
    options As RtfExportOptions
)

Parameters

Name Type Description
filePath String

A String value which specifies the full path (including the file name and extension) where the RTF file should be created.

options RtfExportOptions

A RtfExportOptions object specifying how the data should be exported to the Rich Text Format.

Remarks

This method overwrites any files present at the specified path that have the same name without warning. Note that the .rtf (or an appropriate) extension has to be specified in the path.

The control's data can only be exported if the XtraPrinting Library is available. Use the VGridControlBase.IsPrintingAvailable property to check whether the control's data can be exported.

See Also