PrDoc: FieldProperty

FieldProperty

Returns a property of a field.

 Public Function FieldProperty(
	  ByVal field_code As Long,
	  ByVal prop_code As Long,
	  ByRef data ) As Boolean

Parameters

field_code
The id of the asked field. The possible ids are defined in the PR_DOCFIELD enumeration.
prop_code
The id of the asked property. The possible ids are defined in the PR_PROP_TYPE enumeration.
data
The data returned.

Return Values

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

Languages

[Visual Basic] Public Function FieldProperty(ByVal field_code As Long, ByVal prop_code As Long, ByRef data) As Boolean

[Delphi] function FieldProperty(field_code: Integer; prop_code: Integer; var data: OleVariant): Boolean;

[C++] bool FieldProperty(long field_code, long prop_code, VARIANT* data);

Remarks

See Also

Class PrDoc Overview PrDoc Properties PrDoc Methods FieldFrame FieldPropertyV