Class XmpStructure
Represents Xmp Structure.
Inheritance
Inherited Members
Namespace: Syncfusion.Pdf.Xmp
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public abstract class XmpStructure : XmpType
Properties
InnerXmlData
Gets inner xml data.
Declaration
protected XmlElement InnerXmlData { get; }
Property Value
Type |
---|
System.Xml.XmlElement |
StructurePrefix
Gets prefix of the structure.
Declaration
protected abstract string StructurePrefix { get; }
Property Value
Type |
---|
System.String |
StructureURI
Gets name pf the structure.
Declaration
protected abstract string StructureURI { get; }
Property Value
Type |
---|
System.String |
Methods
CheckIfExists()
Checks whether entity already exists in the parent.
Declaration
protected override bool CheckIfExists()
Returns
Type | Description |
---|---|
System.Boolean | True - if exists, False otherwise. |
Overrides
CreateArray(String, XmpArrayType)
Creates xmp array.
Declaration
protected XmpArray CreateArray(string name, XmpArrayType arrayType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the array. |
XmpArrayType | arrayType | Type of the array. |
Returns
Type | Description |
---|---|
XmpArray | Created xmp array. |
CreateEntity()
Creates structure.
Declaration
protected override void CreateEntity()
Overrides
CreateSimpleProperty(String)
Creates simple property.
Declaration
protected XmpSimpleType CreateSimpleProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
Returns
Type | Description |
---|---|
XmpSimpleType | Simple property instance. |
CreateSimpleProperty(String, XmlNode)
Creates simple property.
Declaration
protected XmpSimpleType CreateSimpleProperty(string name, XmlNode parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
System.Xml.XmlNode | parent | Parent XmlNode. |
Returns
Type | Description |
---|---|
XmpSimpleType | Simple property instance. |
CreateStructureContent()
Creates structure inner content.
Declaration
protected void CreateStructureContent()
GetArray(String, XmpArrayType)
Gets xmp array.
Declaration
protected XmpArray GetArray(string name, XmpArrayType arrayType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the array. |
XmpArrayType | arrayType | Type of the array. |
Returns
Type | Description |
---|---|
XmpArray | Xmp array. |
GetEntityXml()
Gets Xml data of the entity.
Declaration
protected override XmlElement GetEntityXml()
Returns
Type | Description |
---|---|
System.Xml.XmlElement | XmlElement containing entity data. |
Overrides
GetSimpleProperty(String)
Gets property by its name.
Declaration
protected XmpSimpleType GetSimpleProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
Returns
Type | Description |
---|---|
XmpSimpleType | Xmp property instance. |
GetSimpleProperty(String, XmlNode)
Gets property by its name.
Declaration
protected XmpSimpleType GetSimpleProperty(string name, XmlNode parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
System.Xml.XmlNode | parent | Parent XmlNode. |
Returns
Type | Description |
---|---|
XmpSimpleType | Xmp property instance. |
GetSuspend()
Gets value indicating whether we have to suspend initialization.
Declaration
protected override bool GetSuspend()
Returns
Type | Description |
---|---|
System.Boolean | Value indicating whether we have to suspend initialization. |
Overrides
InitializeEntities()
Initializes internal entries.
Declaration
protected abstract void InitializeEntities()