Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvCOMGraphicFacade Class Reference

Class that encapsulates an ActiveX so that it may be shared by several IlvGraphicCOMAdapter objects. More...

#include <ilviews/windows/comgadap.h>

Public Member Functions

 IlvCOMGraphicFacade (IlString const &identifier, IlvDisplay *display, IlvRect const &bbox)
 Constructor. More...
 
virtual ~IlvCOMGraphicFacade ()
 Destructor. More...
 
IlvDisplaygetDisplay () const
 Returns the display instance of thsi object. More...
 
IOleObject * getOleInterface () const
 Returns the IOleObject interface. More...
 

Detailed Description

Class that encapsulates an ActiveX so that it may be shared by several IlvGraphicCOMAdapter objects.

Library: ilvcom

See also
IlvGraphicCOMAdapter.

Constructor & Destructor Documentation

◆ IlvCOMGraphicFacade()

IlvCOMGraphicFacade::IlvCOMGraphicFacade ( IlString const &  identifier,
IlvDisplay display,
IlvRect const &  bbox 
)

Constructor.

This constructor initializes a facade object for an ActiveX, specified by an identifier.

Parameters
bboxThe bounding box of the graphic object.
identifierThe identifier the control. This string can be a CLSID (with braces), a ProgID, a URL, or raw HTML (prefixed with MSHTML:). If either a URL or raw HTML is supplied, a Web browser will be loaded with this information.
displayThe display instance.

◆ ~IlvCOMGraphicFacade()

virtual IlvCOMGraphicFacade::~IlvCOMGraphicFacade ( )
virtual

Destructor.

The destructor releases the resources used by this object.

Member Function Documentation

◆ getDisplay()

IlvDisplay* IlvCOMGraphicFacade::getDisplay ( ) const

Returns the display instance of thsi object.

Returns
The display object for which this object was is created.

◆ getOleInterface()

IOleObject* IlvCOMGraphicFacade::getOleInterface ( ) const

Returns the IOleObject interface.

Returns
The IOleObject interface that was used to create this object.