5.7.2 Interface GetWebCGMDocument
Since WebCGM documents are often embedded within a host document such as XHTML, WebCGM user agents are required to implement the GetWebCGMDocument interface for the element which references the WebCGM document (e.g., the 'object' tag).
IDL Definition
interface GetWebCGMDocument { 
  WebCGMMetafile              getWebCGMDocument ( ) raises ( WebCGMException ); 

  string                      getAppName(); 
  string                      getAppVersion(); 
};	
Methods
getWebCGMDocument
Returns the WebCGMMetafile object for the referenced WebCGM document.
No parameters
Return value
WebCGMMetafile; The WebCGMMetafile object for the referenced WebCGM document.
Exceptions
WebCGMException; NOT_SUPPORTED_ERR: No WebCGMMetafile object is available.
getAppName
Returns the name of the viewer application.
No parameters
Return value
String; The name of the viewer application.
Exceptions
WebCGMException; NOT_SUPPORTED_ERR: No viewer name is available.
getAppVersion
Returns the version of the viewer application.
No parameters
Return value
String; The version of the viewer application.
Exceptions
WebCGMException; NOT_SUPPORTED_ERR: No version number is available.
No Attributes