Table of Contents

Class XmpStructure

Namespace
Syncfusion.Pdf.Xmp
Assembly
Syncfusion.Pdf.Portable.dll

Represents Xmp Structure.

public abstract class XmpStructure : XmpType
Inheritance
XmpStructure
Derived
Inherited Members

Properties

InnerXmlData

Gets inner xml data.

protected XElement InnerXmlData { get; }

Property Value

XElement

StructurePrefix

Gets prefix of the structure.

protected abstract string StructurePrefix { get; }

Property Value

string

StructureURI

Gets name pf the structure.

protected abstract string StructureURI { get; }

Property Value

string

Methods

CheckIfExists()

Checks whether entity already exists in the parent.

protected override bool CheckIfExists()

Returns

bool

True - if exists, False otherwise.

CreateArray(string, XmpArrayType)

Creates xmp array.

protected XmpArray CreateArray(string name, XmpArrayType arrayType)

Parameters

name string

Name of the array.

arrayType XmpArrayType

Type of the array.

Returns

XmpArray

Created xmp array.

CreateEntity()

Creates structure.

protected override void CreateEntity()

CreateSimpleProperty(string)

Creates simple property.

protected XmpSimpleType CreateSimpleProperty(string name)

Parameters

name string

Name of the property.

Returns

XmpSimpleType

Simple property instance.

CreateSimpleProperty(string, XNode)

Creates simple property.

protected XmpSimpleType CreateSimpleProperty(string name, XNode parent)

Parameters

name string

Name of the property.

parent XNode

Parent XNode.

Returns

XmpSimpleType

Simple property instance.

CreateStructureContent()

Creates structure inner content.

protected void CreateStructureContent()

GetArray(string, XmpArrayType)

Gets xmp array.

protected XmpArray GetArray(string name, XmpArrayType arrayType)

Parameters

name string

Name of the array.

arrayType XmpArrayType

Type of the array.

Returns

XmpArray

Xmp array.

GetEntityXml()

Gets Xml data of the entity.

protected override XElement GetEntityXml()

Returns

XElement

XElement containing entity data.

GetSimpleProperty(string)

Gets property by its name.

protected XmpSimpleType GetSimpleProperty(string name)

Parameters

name string

Name of the property.

Returns

XmpSimpleType

Xmp property instance.

GetSimpleProperty(string, XNode)

Gets property by its name.

protected XmpSimpleType GetSimpleProperty(string name, XNode parent)

Parameters

name string

Name of the property.

parent XNode

Parent XNode.

Returns

XmpSimpleType

Xmp property instance.

GetSuspend()

Gets value indicating whether we have to suspend initialization.

protected override bool GetSuspend()

Returns

bool

Value indicating whether we have to suspend initialization.

InitializeEntities()

Initializes internal entries.

protected abstract void InitializeEntities()