gpt4 book ai didi

c# - 有没有办法从 iTextSharp 读取 TrimBox 和 BleedBox 尺寸?

转载 作者:行者123 更新时间:2023-11-30 22:40:27 25 4
gpt4 key购买 nike

有没有办法像在 Adob​​e Acrobat 中那样从 iTextSharp 读取裁切框和出血框尺寸?

最佳答案

我自己想通了:

使用:iTextSharp.text.Rectangle boxRectangle = pdfReader.GetBoxSize(pageNumber, "trim");

这适用于“修剪”、“出血”、“裁剪”、“艺术”,如 more info here

(我正在做一个 PdfName.TRIMBOX.ToString() ,这看起来很明显,但却是错误的)

关于c# - 有没有办法从 iTextSharp 读取 TrimBox 和 BleedBox 尺寸?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5183576/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com