CODAnchorSymbol Class

class CODAnchorSymbol: public CODSymbolComponent

The anchor symbol is used to provide a hyperlink to other objects.

An anchor symbol is just a symbol that responds to a double-click by opening or jumping to another object. The virtual method Open defines how the symbol behaves when a jump occurs.

Defined in: OdAnchorSymbol.h

See Also

CODDocViewAnchor

Class Members

VIEWS_API CODAnchorSymbol()

Constructor.

VIEWS_API CODAnchorSymbol(const CODAnchorSymbol& src)

Copy constructor.

VIEWS_API virtual ~CODAnchorSymbol()

Destructor.

VIEWS_API CODAnchorSymbol& operator=(const CODAnchorSymbol& src)

Assignment operator.

VIEWS_API virtual CODComponent* Dup() const

Create a duplicate copy of this object.

VIEWS_API virtual BOOL OnDoubleClick()

Called by the framework when the component is double-clicked.

VIEWS_API virtual BOOL Open()

Opens the object linked to this anchor.

VIEWS_API virtual void Serialize(CArchive& ar)

Serialize the component.