
573
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Parameters
SetMetricByName
Description
Sets a metric facet.
SetMetricByName()
uses a transaction model to set facets. After you have finished setting facets, you must commit
the transaction by calling
SetIntByName()
to set a facet named
" "
to 0.
The method does not return anything on success.
On failure, the method returns one of the following values to
FA_errno
:
Returns
Void
Syntax
SetMetricByName(propName, setVal)
Parameters
SetUBytesByName
Description
Sets an unsigned bytes inset facet. The standard facets, EPSI and FrameImage, are examples of unsigned bytes facets.
Parameter name
Data Type
Optional
Description
propName
string
No
The name of the facet to set.
setVal
int
No
The value to which the facet must be set.
Error
Reason
Constants.FE_BadDocId (-2)
Invalid document.
Constants.FE_BadName (-33)
Specified name is illegal.
Constants.FE_BadObjId (-3)
Invalid object.
Constants.FE_BadPropType (-5)
Incorrect property type for this function.
Constants.FE_OutOfRange (-7)
Specified property value is out of the legal range for the specified .property.
Constants.FE_ReadOnly (-6)
Property is read-only.
Constants.FE_WrongProduct (-60)
Current FrameMaker does not support this operation.
Parameter name
Data Type
Optional
Description
propName
string
No
The name of the facet to set.
setVal
int
No
The value to which the facet must be set.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...