alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class RtfTextWriter

    Rtf text writer used for converting rtf string into rtf format.

    Inheritance
    object
    MarshalByRefObject
    TextWriter
    RtfTextWriter
    Implements
    IDisposable
    Inherited Members
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.MemberwiseClone(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    TextWriter.Close()
    TextWriter.CoreNewLine
    TextWriter.Dispose()
    TextWriter.Dispose(bool)
    TextWriter.Flush()
    TextWriter.FlushAsync()
    TextWriter.FormatProvider
    TextWriter.NewLine
    TextWriter.Null
    TextWriter.Synchronized(TextWriter)
    TextWriter.Write(decimal)
    TextWriter.Write(string, object)
    TextWriter.Write(string, object, object)
    TextWriter.Write(string, object, object, object)
    TextWriter.Write(string, params object[])
    TextWriter.Write(ulong)
    TextWriter.WriteAsync(char)
    TextWriter.WriteAsync(char[])
    TextWriter.WriteAsync(char[], int, int)
    TextWriter.WriteAsync(string)
    TextWriter.WriteLine(decimal)
    TextWriter.WriteLine(string, object)
    TextWriter.WriteLine(string, object, object)
    TextWriter.WriteLine(string, object, object, object)
    TextWriter.WriteLine(ulong)
    TextWriter.WriteLineAsync()
    TextWriter.WriteLineAsync(char)
    TextWriter.WriteLineAsync(char[])
    TextWriter.WriteLineAsync(char[], int, int)
    TextWriter.WriteLineAsync(string)
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class RtfTextWriter : TextWriter, IDisposable

    Constructors

    RtfTextWriter()

    Declaration
    public RtfTextWriter()

    RtfTextWriter(bool)

    Declaration
    public RtfTextWriter(bool enableFormatting)
    Parameters
    Type Name Description
    bool enableFormatting

    RtfTextWriter(TextWriter)

    Declaration
    public RtfTextWriter(TextWriter underlyingWriter)
    Parameters
    Type Name Description
    TextWriter underlyingWriter

    RtfTextWriter(TextWriter, bool)

    Declaration
    public RtfTextWriter(TextWriter underlyingWriter, bool enableFormatting)
    Parameters
    Type Name Description
    TextWriter underlyingWriter
    bool enableFormatting

    Properties

    Encoding

    Returns current Encoding.

    Declaration
    public override Encoding Encoding { get; }
    Property Value
    Type
    Encoding
    Overrides
    TextWriter.Encoding

    Escape

    Declaration
    public bool Escape { get; set; }
    Property Value
    Type
    bool

    Methods

    AddColor(Color)

    Adds color to the colors table.

    Declaration
    public int AddColor(Color color)
    Parameters
    Type Name Description
    Color color
    Returns
    Type
    int

    AddFont(Font)

    Adds new font to the collection.

    Declaration
    public int AddFont(Font font)
    Parameters
    Type Name Description
    Font font

    Font to add.

    Returns
    Type Description
    int

    Index of the font.

    GetImageRTF(string)

    Gets the image RTF.

    Declaration
    protected string GetImageRTF(string rtf)
    Parameters
    Type Name Description
    string rtf

    The RTF.

    Returns
    Type
    string

    OutputTabs()

    Declaration
    protected virtual void OutputTabs()

    ToString()

    Returns string that implement current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Returns string that implement current object.

    Overrides
    object.ToString()

    Write(bool)

    Writes a bool to the text stream.

    Declaration
    public override void Write(bool value)
    Parameters
    Type Name Description
    bool value

    Bool param to write.

    Overrides
    TextWriter.Write(bool)

    Write(char)

    Writes a character to the text stream.

    Declaration
    public override void Write(char value)
    Parameters
    Type Name Description
    char value

    Char value to write.

    Overrides
    TextWriter.Write(char)

    Write(char[])

    Writes a array of characters to the text stream.

    Declaration
    public override void Write(char[] buffer)
    Parameters
    Type Name Description
    char[] buffer

    Array param to write.

    Overrides
    TextWriter.Write(char[])

    Write(char[], int, int)

    Writes a subarray of characters to the text stream.

    Declaration
    public override void Write(char[] buffer, int index, int count)
    Parameters
    Type Name Description
    char[] buffer

    The character array to write data from.

    int index

    Starting index in the buffer.

    int count

    The number of characters to write.

    Overrides
    TextWriter.Write(char[], int, int)

    Write(double)

    Writes a double to the text stream.

    Declaration
    public override void Write(double value)
    Parameters
    Type Name Description
    double value

    Double param to write.

    Overrides
    TextWriter.Write(double)

    Write(int)

    Writes a int value to the text stream.

    Declaration
    public override void Write(int value)
    Parameters
    Type Name Description
    int value

    Int value to write.

    Overrides
    TextWriter.Write(int)

    Write(long)

    Writes a long value to the text stream.

    Declaration
    public override void Write(long value)
    Parameters
    Type Name Description
    long value

    Long value to write.

    Overrides
    TextWriter.Write(long)

    Write(object)

    Writes a object to the text stream.

    Declaration
    public override void Write(object value)
    Parameters
    Type Name Description
    object value

    Object value to write.

    Overrides
    TextWriter.Write(object)

    Write(float)

    Writes a float value to the text stream.

    Declaration
    public override void Write(float value)
    Parameters
    Type Name Description
    float value

    Float value to write.

    Overrides
    TextWriter.Write(float)

    Write(string)

    Writes a string to the text stream.

    Declaration
    public override void Write(string s)
    Parameters
    Type Name Description
    string s

    String to write.

    Overrides
    TextWriter.Write(string)

    Write(uint)

    Writes a uint value to the text stream.

    Declaration
    [CLSCompliant(false)]
    public override void Write(uint value)
    Parameters
    Type Name Description
    uint value

    Uint value to write.

    Overrides
    TextWriter.Write(uint)

    WriteBackColorAttribute(Color)

    Declaration
    public void WriteBackColorAttribute(Color color)
    Parameters
    Type Name Description
    Color color

    WriteColorTable()

    Writes colors table into inner text writer.

    Declaration
    public void WriteColorTable()

    WriteFont(Font)

    Declaration
    public void WriteFont(Font font)
    Parameters
    Type Name Description
    Font font

    WriteFont(IFont)

    Declaration
    public void WriteFont(IFont font)
    Parameters
    Type Name Description
    IFont font

    WriteFontAttribute(Font)

    Declaration
    public void WriteFontAttribute(Font font)
    Parameters
    Type Name Description
    Font font

    WriteFontItalicBoldStriked(Font)

    Declaration
    public void WriteFontItalicBoldStriked(Font font)
    Parameters
    Type Name Description
    Font font

    WriteFontTable()

    Writes fonts table into inner text writer.

    Declaration
    public void WriteFontTable()

    WriteForeColorAttribute(Color)

    Declaration
    public void WriteForeColorAttribute(Color color)
    Parameters
    Type Name Description
    Color color

    WriteLine()

    Writes a line terminator to the text stream.

    Declaration
    public override void WriteLine()
    Overrides
    TextWriter.WriteLine()

    WriteLine(bool)

    Writes the text representation of a Boolean followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(bool value)
    Parameters
    Type Name Description
    bool value

    The Boolean to write.

    Overrides
    TextWriter.WriteLine(bool)

    WriteLine(char)

    Writes a character followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(char value)
    Parameters
    Type Name Description
    char value

    The character to write to the text stream.

    Overrides
    TextWriter.WriteLine(char)

    WriteLine(char[])

    Writes an array of characters followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(char[] buffer)
    Parameters
    Type Name Description
    char[] buffer

    The character array from which data is read.

    Overrides
    TextWriter.WriteLine(char[])

    WriteLine(char[], int, int)

    Writes a subarray of characters followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(char[] buffer, int index, int count)
    Parameters
    Type Name Description
    char[] buffer

    The character array from which data is read.

    int index

    The index into buffer at which to begin reading.

    int count

    The maximum number of characters to write.

    Overrides
    TextWriter.WriteLine(char[], int, int)

    WriteLine(double)

    Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(double value)
    Parameters
    Type Name Description
    double value

    The 8-byte floating-point value to write.

    Overrides
    TextWriter.WriteLine(double)

    WriteLine(int)

    Writes the text representation of a 4-byte signed integer followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(int value)
    Parameters
    Type Name Description
    int value

    The 4-byte signed integer to write.

    Overrides
    TextWriter.WriteLine(int)

    WriteLine(long)

    Writes the text representation of an 8-byte signed integer followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(long value)
    Parameters
    Type Name Description
    long value

    The 8-byte signed integer to write.

    Overrides
    TextWriter.WriteLine(long)

    WriteLine(object)

    Writes the text representation of an object by calling ToString on this object, followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(object value)
    Parameters
    Type Name Description
    object value

    The object to write.

    Overrides
    TextWriter.WriteLine(object)

    WriteLine(float)

    Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(float value)
    Parameters
    Type Name Description
    float value

    The 4-byte floating-point value to write.

    Overrides
    TextWriter.WriteLine(float)

    WriteLine(string)

    Writes a string followed by a line terminator to the text stream.

    Declaration
    public override void WriteLine(string s)
    Parameters
    Type Name Description
    string s

    The string to write.

    Overrides
    TextWriter.WriteLine(string)

    WriteLine(string, params object[])

    Writes out a formatted string and a new line, using the same semantics as Format.

    Declaration
    public override void WriteLine(string format, params object[] arg)
    Parameters
    Type Name Description
    string format

    The formatting string.

    object[] arg

    The object array to write into format string.

    Overrides
    TextWriter.WriteLine(string, params object[])

    WriteLine(uint)

    Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text stream.

    Declaration
    [CLSCompliant(false)]
    public override void WriteLine(uint value)
    Parameters
    Type Name Description
    uint value

    The 4-byte unsigned integer to write.

    Overrides
    TextWriter.WriteLine(uint)

    WriteLineNoTabs(string)

    Declaration
    public void WriteLineNoTabs(string s)
    Parameters
    Type Name Description
    string s

    WriteStrikeThrough(StrikeThroughStyle)

    Declaration
    public void WriteStrikeThrough(StrikeThroughStyle style)
    Parameters
    Type Name Description
    StrikeThroughStyle style

    WriteSubSuperScript(FontImpl)

    Declaration
    public void WriteSubSuperScript(FontImpl font)
    Parameters
    Type Name Description
    FontImpl font

    WriteTag(RtfTags)

    Declaration
    public void WriteTag(RtfTags tag)
    Parameters
    Type Name Description
    RtfTags tag

    WriteTag(RtfTags, params object[])

    Declaration
    public void WriteTag(RtfTags tag, params object[] arrParams)
    Parameters
    Type Name Description
    RtfTags tag
    object[] arrParams

    WriteText(Font, Color, Color, string)

    Declaration
    public void WriteText(Font font, Color foreColor, Color backColor, string strText)
    Parameters
    Type Name Description
    Font font
    Color foreColor
    Color backColor
    string strText

    WriteText(Font, Color, string)

    Declaration
    public void WriteText(Font font, Color foreColor, string strText)
    Parameters
    Type Name Description
    Font font
    Color foreColor
    string strText

    WriteText(Font, string)

    Declaration
    public void WriteText(Font font, string strText)
    Parameters
    Type Name Description
    Font font
    string strText

    WriteText(IFont, string)

    Declaration
    public void WriteText(IFont font, string strText)
    Parameters
    Type Name Description
    IFont font
    string strText

    WriteUnderline(FontImpl)

    Declaration
    public void WriteUnderline(FontImpl font)
    Parameters
    Type Name Description
    FontImpl font

    WriteUnderlineAttribute()

    Declaration
    public void WriteUnderlineAttribute()

    WriteUnderlineAttribute(UnderlineStyle)

    Declaration
    public void WriteUnderlineAttribute(UnderlineStyle style)
    Parameters
    Type Name Description
    UnderlineStyle style

    Implements

    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved