Class XmpStructure
Represents Xmp Structure.
Inheritance
Inherited Members
Namespace: Syncfusion.Pdf.Xmp
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public abstract class XmpStructure : XmpType
Properties
InnerXmlData
Gets inner xml data.
Declaration
protected XElement InnerXmlData { get; }
Property Value
Type |
---|
System.Xml.Linq.XElement |
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, XNode)
Creates simple property.
Declaration
protected XmpSimpleType CreateSimpleProperty(string name, XNode parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
System.Xml.Linq.XNode | parent | Parent XNode. |
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 XElement GetEntityXml()
Returns
Type | Description |
---|---|
System.Xml.Linq.XElement | XElement 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, XNode)
Gets property by its name.
Declaration
protected XmpSimpleType GetSimpleProperty(string name, XNode parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the property. |
System.Xml.Linq.XNode | parent | Parent XNode. |
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()