Is it possible to do this in aspose.kit though?
Here's my issue, I have a two page existing pdf document that I need to add a multitude of images & text areas to.
I currently do this in aspose.pdf by creating .jpg files from my source pdf pages and then importing them into a new aspose.pdf document and setting them as background images. From that point I can add tables, rows & cells with text and images to finish the job. All of this happens great on the screen, but when it comes time to print, the background images don't have the same printed quality as my original pdfs. I understand that this is most likely because I'm taking a vector based object, rendering it in photoshop and then generating a .jpg file from it, but whatever the reason it's something I can give to the client.
I'd like to use Aspose.pdf.kit for my needs since I can just modify the source pdf and retain the inherent quality in it. My question is if apose.pdf.kit has the same capability when it comes to adding text and images. From what I've seen so far it doesn't, for instance I don't see a way to duplicate this code from aspose.pdf to aspose.pdf.kit:
Dim tblName As New Table
Section.Paragraphs.Add(tblName)
tblName.PositioningType = PositioningType.PageRelative
tblName.Left = Left
tblName.Top = Top
tblName.ColumnWidths = ColumnWidth
Dim rowName As Row = tblName.Rows.Add()
rowName.FixedRowHeight = RowHeight
Dim cellName As Cell = rowName.Cells.Add()
cellName.VerticalAlignment = Aspose.Pdf.VerticalAlignmentType.Center
Dim NameInfo As TextInfo = New TextInfo
NameInfo.Alignment = Aspose.Pdf.AlignmentType.Center
NameInfo.FontName = "Avenir LT 65 Medium"
NameInfo.IsTrueTypeFontBold = True
NameInfo.IsFontEmbedded = True
NameInfo.FontSize = 9
cellName.Paragraphs.Add(New Text("My Name")
I could as a possible workaround use aspose.pdf to generate a pdf containing the modifications that I need to make, and then use aspose.pdf.kit to merge the two seperate documents together, but that doesn't seem all that efficient resource wise.
Any suggestions?
Thanks.
~Brian