ParallelGraphics
Home  »  Developer Zone  »  Products  »  Cortona VRML Client  »  Printing 3D window screenshot
Up to Cortona VRML Client

Using in HTML 

VRML Extensions 

User's Guide 

Skins 

Native GeoVRML Support 

Print Scene Snapshot 


Subscribe to Newsletter
 


Google Searchsite search:

 

%(domain)s %(domain)s
Install Cortona VRML Client!

Outline 3D

Try RobinZone!


Printing 3D window screenshot

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
scene size: 26KB

Download zipped archive (archive size: 36.2KB)


Last updated: Wed, 27 Aug 2008
© 2000-2008 ParallelGraphics. All rights reserved. Terms of use.