การเพิ่มขอบ
Contents
[
Hide
]วิธีการเพิ่มขอบ
ปัญหา: วิธีการเพิ่มขอบ (CADNET-1298).
เคล็ดลับ: สำหรับการทำเช่นนี้ ให้สร้าง rasterizationOptions.Margins ใน 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
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions(); | |
rasterizationOptions.Margins = new Margins(); | |
rasterizationOptions.Margins.Bottom = 300; | |
rasterizationOptions.Margins.Left = 300; | |
rasterizationOptions.Margins.Right = 300; | |
rasterizationOptions.Margins.Top = 300; |