Category Geometry items, Object ProCurve

Function ProCurveLinestyleSet


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProCurvePersistentLinestyleSet
Description
NOTE:

This function is deprecated. Use ProCurvePersistentLinestyleSet() instead.

Sets the linestyle of the specified curve, and returns the original linestyle. Note:

In order to see the change made to the linestyle, use the function ProDisplistInvalidate() on the owner model.

Synopsis
#include <ProCurve.h>
ProErrorProCurveLinestyleSet(
ProCurve p_curve
/* (In)
The curve handle
*/
ProLinestyle new_linestyle
/* (In)
The new linestyle for the curve
*/
ProLinestyle* p_old_linestyle
/* (Out)
The linestyle of the curve before the change
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSInvalid input argument(s).