RtfTextWriter Constructor (TextWriter, Boolean)
|
Initializes a new instance of the RtfTextWriter class with the specified TextWriter and formatting option.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public RtfTextWriter(
TextWriter underlyingWriter,
bool enableFormatting
)
Public Sub New (
underlyingWriter As TextWriter,
enableFormatting As Boolean
)
public:
RtfTextWriter(
TextWriter^ underlyingWriter,
bool enableFormatting
)
new :
underlyingWriter : TextWriter *
enableFormatting : bool -> RtfTextWriter
Parameters
-
underlyingWriter
-
Type:
System.IO
TextWriter
The TextWriter to which the RTF content will be written.
-
enableFormatting
-
Type:
System
Boolean
A boolean indicating whether formatting should be enabled.
Return Value
Type:
An instance of the RtfTextWriter class.
See Also