KeyView 24.4
KeyView XML Export SDK Java Programming Guide

# Vector Graphics Output

Sometimes an input document contains vector graphics like charts or diagrams that can be included in the output produced by KeyView. For presentation formats like PowerPoint, the entire slide can be considered as a vector graphic.

You can choose the output format for vector graphics. In most cases, SVG output is likely to give the best results. SVG is a vector graphic format that can be embedded into HTML documents, and provides a clear print-quality image with text that can be selected or searched for in the browser like any other text in an HTML document. In most cases OpenText recommends using SVG output for vector graphics, but if you wish KeyView can convert vector graphics to a raster format such as JPEG or PNG.

NOTE: On Linux and macOS, conversion of vector graphics to raster formats such as JPEG requires a Java Runtime Environment (JRE). You must add the location of your JRE to the `PATH` environment variable.

KeyView sample programs produce SVG output by default but you can change the default options by editing your initialization file (see Explore Conversion Options with the Sample Programs). For HTML Export, set `OutputVectorGraphicType` in the `[KVHTMLOptionsEx]` section. For XML Export, set `eOutputVectorGraphicType` in the `[KVXMLOptions]` section.

To choose the output format for vector graphics

- Call the `setOutputVectorGraphicType` method on your `XmlOptionInfo` object. Set the type to one of the options enumerated by `XmlGraphicType`, for example `KVGFX_SVG`.

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: Vector Graphics Output