Skala garis dalam SVG
Contents
[
Hide
]Ubah skala garis saat mengekspor ke SVG
Anda dapat mengontrol skala garis dalam file SVG, pustaka Aspose.CAD menyediakan semua alat yang diperlukan untuk ini.
Gunakan parameter line_scale dalam vector_rasterization_options untuk mengontrol skala garis
Contoh kode:
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) |
Sebuah file yang menggunakan skala linier
- File jika parameter LineScale diatur ke 0.25.
- File jika Anda tidak menggunakan skala garis.