Visit Gigasoft's Web Site
 ProEssentials v9 Help

SvgToFile

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

 

public int PeFunction.Image.SvgToFile ( int width, int height, string fileName, boolean bCompress)

Parameter

Description

width

Width in Pixels

height

Height in Pixels

fileName

Name of file to create

bCompress

True to compress output, else human readable

 

This function places the current image, in the form of an SVG, into a file named by fileName. If bCompress is True, the file is built compressed.

 

The SVG format is a vector based image definition format similar to the metafile format. Unicode strings are only supported if Unicode fonts are used to build chart. These same Unicode fonts must be present on any target system.

 

ProEssentials adds SVG support at a very basic level. We do not support interactivity, or other advanced features SVG can potentially offer. Its main advantage is passing large high resolution images via small bandwidth (many charts will only take 2K in data independent of size of image.)

 

Returns

Non-zero if successful, else zero.

 

Comments

PeFunction.Image.SvgToFile members of Pego.PeFunction.Image, Pesgo.PeFunction.Image, Pe3do.PeFunction.Image, Pepso.PeFunction.Image, Pepco.PeFunction.Image