Lijnen schalen in SVG
Contents
[
Hide
]Wijzig lijnschaling bij exporteren naar SVG
Je kunt de schaling van de lijnen in het SVG-bestand beheren; de Aspose.CAD-bibliotheek biedt alle benodigde tools hiervoor.
Gebruik de line_scale parameter in vector_rasterization_options om de schaal van de lijnen te beheren
Voorbeeldcode:
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) |
Een bestand met een lineaire schaling
- Het bestand als de LineScale-parameter is ingesteld op 0.25.
- Bestand als je geen lijnschaling gebruikt.