←Select platform

ForConversion Property

Summary
Gets or sets a value that indicates whether the created SVG should be optimized for conversion.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public bool ForConversion { get; set; } 
@property (nonatomic, assign) BOOL forConversion; 
public boolean getForConversion() 
public void setForConversion(boolean value) 
public: 
property bool ForConversion { 
   bool get(); 
   void set (    bool ); 
} 
ForConversion # get and set (CodecsLoadSvgOptions) 

Property Value

Value Description
true To optimize for conversion the created SVG.
false To not optimize for conversion the created SVG. false is the default value.
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.