ImageEn, unit iexBitmaps

TIOParams.SVG_Title

TIOParams.SVG_Title


Declaration

property SVG_Title: string;


Description

Specifies a title that is embedded into the SVG file when saving layers or an image to stream.
When loading it is filled with the predominant title found in the loaded SVG file.


Default: ''


Examples

ImageEnView1.IO.ParamsFromFile( 'D:\lion.svg' );
Memo1.Lines.Add( format( 'Size: %d x %d', [ ImageEnView1.IO.Params.Width, ImageEnView1.IO.Params.Height ]));
Memo1.Lines.Add( format( 'Tag Count: %d', [ ImageEnView1.IO.Params.SVG_TagCount ]));
Memo1.Lines.Add( format( 'Title: %s', [ ImageEnView1.IO.Params.SVG_Title ]));

// Save current layers (compress image layers as jpeg)
ImageEnView1.IO.Params.SVG_ImageCompression := ioJPEG;
ImageEnView1.IO.Params.SVG_Title := 'SVG file with JPEG layers';
ImageEnView1.IO.Params.JPEG_Quality := 80;
ImageEnView1.IO.SaveToFileSVG( 'D:\layers.SVG' );