User's Guide > Annotations: Annotation Features > Designate an Annotation
Designate an Annotation
Functions introduced:
Use the function ProAnnotationDesignateSet() to set the annotation designate type.
The input arguments for the function ProAnnotationDesignateSet() are:
annotation— Specify an annotation
designate— Specify the designate type
Use the function ProAnnotationDesignateGet() to get the annotation designate type.
The input argument for this function is:
annotation— Specify an annotation
The function returns the value for the output argument designate that gets the designate type.
Use the function ProDrawingViewAnnotDispStatusGet() to get the display status of all annotations of a drawing view. The input arguments are:
draw—The drawing from which to fetch the annotations status using the ProDrawing object.
view—The view for which annotations display status should be fetched using the ProView object.
The output arguments are:
p_annot_array—Specifies the ProArray using the ProAnnotation object. Use the function ProAnnotationreferencearrayFree() to free the allocated memory.
p_annot_display_status_array—Specifies the ProArray of annotation display statuses as TRUE or FALSE, where TRUE indicates a displayed annotation and FALSE indicates an erased annotation.
The function ProAnnotationReferencesInheritGet() checks whether a child annotation inherits references from its parent. The input argument annotation specify the annotation by using the ProAnnotation object.
The output argument inherit returns PRO_B_TRUE if the child annotation inherits references.
The function ProAnnotationReferencesInheritSet() sets a child annotation to inherit references from the parent. The input arguments are:
annotation—Specify the annotation by using the ProAnnotation object.
inheritPRO_B_TRUE to inherit references from the parent.
The function ProAnnotationReferenceIsInherit() checks whether the specified reference is an inherited annotation reference. The input arguments are:
annotation—Specify the annotation by using the ProAnnotation object.
ref
—Specify the annotation reference by using the ProAnnotationReference object.
The output argument inherit returns PRO_B_TRUE if the child annotation inherits references.
Est-ce que cela a été utile ?