Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > CodecsLoadSvgOptions Class : ForConversion Property |
public bool ForConversion {get; set;}
'Declaration
Public Property ForConversion As Boolean
'Usage
Dim instance As CodecsLoadSvgOptions Dim value As Boolean instance.ForConversion = value value = instance.ForConversion
public bool ForConversion {get; set;}
@property (nonatomic, assign) BOOL forConversion
public boolean getForConversion() public void setForConversion(boolean value)
<br/>get_ForConversion();<br/>set_ForConversion(value);<br/>Object.defineProperty('ForConversion');
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.