Skip to main content

VGridControlBase.ExportToRtf(String) Method

Exports the control’s data to the specified RTF file.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public void ExportToRtf(
    string filePath
)

Parameters

Name Type Description
filePath String

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

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