تغيير مقياس الخطوط في SVG
Contents
[
Hide
]تغيير مقياس الخط عند التصدير إلى SVG
يمكنك التحكم في مقياس الخطوط في ملف SVG، توفر مكتبة Aspose.CAD جميع الأدوات اللازمة لذلك.
استخدام معلمة line_scale في vector_rasterization_options للتحكم في مقياس الخطوط
مثال على الكود:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aspose.cad import * | |
from aspose.cad.imageoptions import * | |
image = Image.load("file.plt") | |
options = SvgOptions() | |
options.vector_rasterization_options.line_scale = 0.25 | |
image.save("export.svg", options) |
ملف يستخدم مقياس خطي
- الملف إذا كانت معلمة LineScale مضبوطة على 0.25.
- ملف إذا لم تستخدم تغيير مقياس الخط.