PdfXmpMetadata
GetPropertyString Method
|
Convenience method to retrieve the literal value of a property.
Namespace:
Spire.Pdf.Interchange.Metadata
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public string GetPropertyString(
string schemaNs,
string propName
)
Public Function GetPropertyString (
schemaNs As String,
propName As String
) As String
public:
String^ GetPropertyString(
String^ schemaNs,
String^ propName
)
member GetPropertyString :
schemaNs : string *
propName : string -> string
Parameters
-
schemaNs
-
Type:
System
String
The namespace URI for the property. Has the same usage as in
[!:GetProperty]
.
-
propName
-
Type:
System
String
The name of the property. Has the same usage as in
[!:GetProperty]
.
Return Value
Type:
String
Returns a
string
value or
null
if the property does not exist.
Remarks
Note that there is no
setPropertyString()
z, because
[!:GetProperty]
sets a string value.
See Also