Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XmpDocument.GetFloat(String) Method

Gets the Single value of a node with the specified name.

Namespace: DevExpress.Pdf.Xmp

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

NuGet Package: DevExpress.Pdf.Core

#Declaration

public float? GetFloat(
    string qualifiedName
)

#Parameters

Name Type Description
qualifiedName String

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

#Returns

Type Description
Nullable<Single>

The node value or null (Nothing in Visual Basic) if it is not a Single value.

#Exceptions

Type Description
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