GetProperty method: Properties class

Syntax

GetProperty(Name, OutValue)

Description

Use the GetProperty method to return the value of the specified property.

Parameters

Parameter Description

Name

Specify the name of the property that you want to access the value.

OutValue

Specify a string to contain the value of the property you want to access.

Returns

A Boolean: true if the method completed successfully, false otherwise. If this method returns false, the Error parameter is populated with the text of the error message that occurred.

Example

Local PSXP_ENGINE:Properties &oProp;

&oProp = create PSXP_ENGINE:Properties();
%sValue = "";
&bResult = &oProp.getProperty("pdf-security", %sValue);