Back to Devexpress

XmpDocument.CreateSimpleValue(String, String, Boolean) Method

officefileapi-devexpress-dot-pdf-dot-xmp-dot-xmpdocument-dot-createsimplevalue-x28-system-dot-string-system-dot-string-system-dot-boolean-x29.md

latest2.1 KB
Original Source

XmpDocument.CreateSimpleValue(String, String, Boolean) Method

Adds a simple value node at the end of the packet.

Namespace : DevExpress.Pdf.Xmp

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public XmpSimpleNode CreateSimpleValue(
    string qualifiedName,
    string value,
    bool isUri
)
vb
Public Function CreateSimpleValue(
    qualifiedName As String,
    value As String,
    isUri As Boolean
) As XmpSimpleNode

Parameters

NameTypeDescription
qualifiedNameString

The node’s qualified name ( prefix:local format).

| | value | String |

The node value.

| | isUri | Boolean |

true if the node value is a URI string; false if the node value is a regular string.

|

Returns

TypeDescription
XmpSimpleNode

The simple value node.

|

Exceptions

TypeDescription
ArgumentException

Thrown if the prefix specified in the qualifiedName method parameter is not registered. Call the XmpDocument.RegisterNamespace method to register the namespace.

|

See Also

XmpDocument Class

XmpDocument Members

DevExpress.Pdf.Xmp Namespace