图像重叠在另一个元素使用iTextSharp PDF c#Overlap one image over another image using iTextSharp PDF C#

- 此内容更新于:2015-01-06
主题:

我试图添加一个图像在PDF使用iTextsharp显示另一个形象。 例如:我有一个灰色的长方形,我想显示一个黑色三角形,矩形应在左,矩形的中心位置。 提前谢谢。

原文:

I am trying to add an image in PDF using iTextsharp which is displaying over another image.

For example : I have a gray rectangle & I want to display a black triangle over that rectangle which should be in between left & center of rectangle in position.

Thanks in advance.

Sybren的回复:请展示你尝试过。

(原文:Please show what u have tried.)

Bruno Lowagie的回复:这听起来像一个矩形重叠的重复IText的Pdf生成两个重叠的矩形所吸引。如果这# 39;年代真正关于图像对象,然后变# 39;年代也有自己的指定正确的坐标。@Sybren表示:这个问题不清楚,只要你不要# 39;t展示你# 39;已经试过了。

(原文:This sounds like a duplicate of Rectangle Overlapping in IText Pdf Generating in which two Rectangles are drawn that overlap. If it's really about Image objects, then it's also a matter of specifying the right coordinates. As @Sybren indicates: the question is not clear as long as you don't show what you've tried.)