การส่งออกแบบอักษร SHX
Contents
[
Hide
]การส่งออกแบบอักษร SHX สำหรับภาพวาด DXF/DWG
ภาพวาดบางชิ้นอาจมีแบบอักษรในรูปแบบ SHX พิเศษ ซึ่งเก็บสัญลักษณ์ของแบบอักษรในรูปทรงต่างๆ รูปแบบนี้ต้องการขั้นตอนการโหลดเพิ่มเติมสำหรับแต่ละแบบอักษรที่ใช้ในภาพวาด Apose.CAD สามารถส่งออกภาพวาดที่มีข้อความเขียนด้วย SHX และมีตัวเลือกที่แตกต่างกันในการทำเช่นนี้ วิธีที่ง่ายที่สุดในการทำคือเพียงใช้ ShxFonts ของ CadRasterizationOptions อ็อบเจ็กต์
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
import aspose.cad as cad | |
image = cad.Image.load(...) | |
rasterizationOptions = cad.imageoptions.CadRasterizationOptions() | |
rasterizationOptions.shx_fonts = ["txt.shx", "romans.shx"] | |
//export |