PrApi: SetProperty

SetProperty

Sets the text value of a property of the prapi module.

 Public Function SetProperty(
	  ByVal Name As String,
	  ByVal value As String ) As Boolean

Parameters

Name
Name of the property. See the PrApi Reference Manual for detailed information about the available properties of the prapi module.
value
The new text value of the property.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function SetProperty(ByVal Name As String, ByVal value As String) As Boolean

[Delphi] function SetProperty(const name: WideString; const value: WideString): Boolean;

[C++] bool SetProperty(BSTR name, BSTR value);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods SetPageLightV SetStatusLed