Sets a static value for an attribute in a transform.
- macOS 10.7+
The transform whose attribute is to be set.
The name of the attribute to be set. See Transform Attributes for a list of valid keys and possible values.
The static value to set for the named attribute.
A pointer that the function uses to provide an error object with details if an error occurs. The caller becomes responsible for the object's memory. Pass
NULLto ignore the error.
A Boolean set to
true if the call succeeds. Otherwise, the
error parameter contains information about the failure.
This function is useful for things like iteration counts and other non-changing values. It returns an error and the named attribute is not changed if
Sec has already been called on the transform.
Compare this function with the
Sec function which sets derived data.