API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnnotation Class
OdAnnotation Class
OdPdfPublish__OdAnnotationOdPdfPublish__OdAnnotationOdPdfPublish__OdAnnotation
Syntax
C++
class OdAnnotation : public OdObject;

PdfPublishAnnotation.h

This class implements an annotation entity for .pdf documents created with Publish SDK. An annotation is a user space object that stores a set of objects of different types (acts like a container for other objects and controls). Annotations can contain compressed and uncompressed .prc tessellations, .prc boundary representation data, .prc attributes, and carousel buttons which allow users to interactively switch between different views. An annotation entity is based on a CAD model. The CAD model represents any drawing in a format supported by ODA Software (for example, a .dwg drawing), exported to PRC data format.

 
Name 
Description 
 
Destroys an annotation object. 
 
Name 
Description 
 
Returns the annotation activation type. The method fills a passed activation type value and returns it to a calling subroutine.
 
 
Returns a smart pointer to the annotation artwork object. The method fills a passed smart pointer value and returns it to a calling subroutine.
 
 
Returns the current border width of the annotation. The method fills a passed value and returns it to a calling subroutine.
 
 
Returns the annotation carousel buttons information. The information contains button names, including previous and next button names, and scroll size value. The method fills the passed objects with button information and returns them to a calling subroutine.
 
 
Returns a color that is used for filling the carousel buttons.
 
 
Returns the current carousel buttons font parameters. The method fills passed values and returns them to a calling subroutine.
 
 
Returns the carousel buttons font size. The method fills a passed value and returns it to a calling subroutine.
 
 
Returns a offset between annotations and the carousel buttons.
 
 
Returns the images for carousel scroll buttons.
 
 
Returns the carousel views of the annotation. The view information contains an array of view indices and an array of button icons. The method fills the passed objects with data about the views and returns them to a calling subroutine.
 
 
Returns the annotation deactivation type. The method fills a passed deactivation type value and returns it to a calling subroutine.
 
 
Returns the current value of the interactivity flag of the annotation. The method fills a passed boolean value and returns it to a calling subroutine.
 
 
Returns the current value of the visibility flag of the annotation model tree. The method fills a passed boolean value and returns it to a calling subroutine.
 
 
Returns the annotation name. The method fills a passed string object and returns it to a calling subroutine.
 
 
Returns the table that contains the list of annotation parts. The method accepts placeholders for the parts list table, fills them and returns to a calling subroutine.
 
 
Returns the annotation poster image. The method fills a passed smart pointer to an image object and returns it to a calling subroutine.
 
 
Returns the current location of the property list label.  
 
Returns the current text field property with a specified name.  
 
Returns the annotation source. The method fills a passed smart pointer to the model object and returns it to a calling subroutine.
 
 
Returns the current value of the visibility flag of the annotation toolbar. The method fills a passed boolean value and returns it to a calling subroutine.
 
 
Returns the current value of the transparency flag of the annotation. The method fills a passed boolean value and returns it to a calling subroutine.
 
 
Returns the list box object that contains the list of view names. The method fills the passed location and list box objects, then returns them to a calling subroutine.
 
 
Returns a list of view names combined in a single string. The method fills the passed string objects with view names and returns it to a calling subroutine.
 
 
Sets the annotation activation type. The activation type determines when the annotation becomes active.
 
 
Sets an artwork object of the annotation.
 
 
Sets the border width of the annotation. Border width is measured in points.
 
 
Sets the annotation carousel buttons.
 
 
Sets a color that is used for filling the carousel buttons.
 
 
This is the overview for the setCarouselButtonsFont method overload. 
 
Sets the carousel buttons font size.
 
 
Sets a offset between annotations and the carousel buttons.
 
 
Sets the images for carousel scroll buttons.
 
 
Sets the carousel views of the annotation.
 
 
Sets the annotation deactivation type. The deactivation type determines when the annotation becomes inactive.
 
 
Sets the interactivity flag of the annotation. If the flag is true, annotation interactivity is enabled, otherwise interactivity is disabled.
 
 
Sets the visibility flag of the annotation model tree. If the flag is true, the model tree is diplayed when the annotation becomes active, otherwise the model tree stays hidden.
 
 
Sets the annotation name.
 
 
Sets the table that contains the list of annotation parts.
 
 
Sets the annotation poster image.
 
 
Creates a new OdList object in a specified location and fills it with property values of the node selected at the annotation object. If the node has no property, the list object remains empty.  
 
Displays the property value of the selected node to a specified text field. The property to be displayed is defined by its name.  
 
Sets the annotation source. The source contains drawing data that should be exported to the annotation.
 
 
Sets the visibility flag of the annotation toolbar. If the flag is true, the toolbar is diplayed when the annotation becomes active, otherwise the toolbar stays hidden.
 
 
Sets the transparency flag of the annotation. If the flag is true, the annotation background is transparent, otherwise the annotation background is opaque.
 
 
Adds a new list box object in a specified area and creates a list of view names in it.
 
 
Creates a new list of view names combined in a single string.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.