|
The ability to print a screenshot of the 3D window can be added to a Web page and any software application supporting ActiveX technology.
This functionality is provided by the CarbonCopy.CopierX ActiveX object, which is included in Cortona VRML Client from v. 5.1 (release 167).
The CarbonCopy.CopierX ActiveX object allows the text for the page header
and footer to be set (the HeaderText and FooterText properties respectively),
and their style properties to be set (the HeaderStyle and
FooterStyle parameters respectively). After the header and footer texts
are formed and their styles are set, the 3D window screenshot can be printed by
calling the PrintScene() method of the CarbonCopy.CopierX object.
The properties of the HeaderStyle and FooterStyle parameters:
- FontFamily specifies the family of the font. Possible values: Verdana, Tahoma, Courier, etc.
- FontSize specifies the size of the font. Possible values: any positive integer.
- FontWeight specifies the weight of the font. Possible values: bold, normal.
- FontStyle specifies the style of the font. Possible values: normal, italic.
- DividerWeight specifies the weight of the divider line, which separates the text from the screenshot (image) of the 3D window. Possible values: any positive integer.
- DividerStyle sets style of the divider line. Possible values: none, solid, double, dotted, dashed, dash-dotted.
Note:
To enable printing the 3D window screenshot, the PixelBufferAccess property of Cortona OBJECT HTML element should be set to "True".
Example
|