Interface IXDLSAttributeReader
Summary description for IXDLSAttributeReader.
Namespace: Syncfusion.DocIO.DLS.XML
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public interface IXDLSAttributeReaderMethods
HasAttribute(String)
Determines whether the current node has attribute with specified name.
Declaration
bool HasAttribute(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | if has attribute with specified name, set to  | 
ReadBoolean(String)
Reads the boolean.
Declaration
bool ReadBoolean(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | 
|---|
| System.Boolean | 
ReadByte(String)
Reads the byte.
Declaration
byte ReadByte(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | 
|---|
| System.Byte | 
ReadColor(String)
Reads color from XML.
Declaration
Color ReadColor(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | Name of attribute. | 
Returns
| Type | 
|---|
| System.Drawing.Color | 
ReadDateTime(String)
Reads the date time.
Declaration
DateTime ReadDateTime(string s)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | s | The s. | 
Returns
| Type | 
|---|
| System.DateTime | 
ReadEnum(String, Type)
Reads the enum.
Declaration
Enum ReadEnum(string name, Type enumType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
| System.Type | enumType | Type of the enum. | 
Returns
| Type | 
|---|
| System.Enum | 
ReadFloat(String)
Reads the float.
Declaration
float ReadFloat(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | 
|---|
| System.Single | 
ReadInt(String)
Reads the int.
Declaration
int ReadInt(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | 
|---|
| System.Int32 | 
ReadShort(String)
Reads the short.
Declaration
short ReadShort(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | 
|---|
| System.Int16 | 
ReadString(String)
Reads the string.
Declaration
string ReadString(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | 
|---|
| System.String |