Class RtfReader
Represents the Rtf reader.
Inheritance
System.Object
RtfReader
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS.Convertors
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class RtfReader
Constructors
RtfReader(Stream)
Initializes a new instance of the RtfReader class.
Declaration
public RtfReader(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The System.IO.Stream instance. |
Properties
Encoding
Gets the encoding.
Declaration
public Encoding Encoding { get; }
Property Value
Type | Description |
---|---|
System.Text.Encoding |
Length
Gets and Sets the data buffer length
Declaration
public long Length { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Position
Gets and Sets the current position in data buffer.
Declaration
public int Position { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RtfData
Gets the Rtf data
Declaration
public byte[] RtfData { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Methods
Close()
Closes this instance.
Declaration
public void Close()
ReadChar()
Read a single character
Declaration
public char ReadChar()
Returns
Type | Description |
---|---|
System.Char |
ReadImageBytes()
Reads the image bytes from the stream
Declaration
public string ReadImageBytes()
Returns
Type | Description |
---|---|
System.String |