Class RtfReader
Represents the Rtf reader.
Inheritance
System.Object
RtfReader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
System.Text.Encoding |
Length
Gets and Sets the data buffer length
Declaration
public long Length { get; set; }
Property Value
Type |
---|
System.Int64 |
Position
Gets and Sets the current position in data buffer.
Declaration
public int Position { get; set; }
Property Value
Type |
---|
System.Int32 |
RtfData
Gets the Rtf data
Declaration
public byte[] RtfData { get; }
Property Value
Type |
---|
System.Byte[] |
Methods
Close()
Closes this instance.
Declaration
public void Close()
ReadChar()
Read a single character
Declaration
public char ReadChar()
Returns
Type |
---|
System.Char |
ReadImageBytes()
Reads the image bytes from the stream
Declaration
public string ReadImageBytes()
Returns
Type |
---|
System.String |