←Select platform

ForConversion Property

Summary

Gets or sets a value that indicates whether the created SVG should be optimized for conversion.

Syntax
C#
VB
Objective-C
C++
Java
public bool ForConversion { get; set; } 
Public Property ForConversion As Boolean 
@property (nonatomic, assign) BOOL forConversion 
public boolean getForConversion() 
public void setForConversion(boolean value) 
public: 
property bool ForConversion { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true if the created SVG should be optimized for conversion, otherwise; false. Default value is false.

Remarks

When the value of ForConversion is false (the default), the engine might massage some of the elements for view optimization by using correction transformation matrices.

This is the default behavior and is the most recommended when loading a document as SVG for viewing purposing since it generates the most natural flow of the document elements (especially text).

When the value of ForConversion is true, this behavior is not used and the elements are loaded as is. This is used when this SVG document is used for conversion purposes.

LEADTOOLS Document Viewer loads SVG documents using ForConversion set to false since the framework is viewing the SVG.

LEADTOOLS Document Converters loads SVG document using ForConversion set to true since the framework is using the SVG for conversion from one format to another and is never viewed.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly