Hi Alex - Our clients do not necessarily use your editor, so that option is not available to us or to them. They will most likely use Acrobat Reader to copy the text we add to the PDF. Either way, I really need a solution that creates actual spaces, and not just the appearance of spaces. This way, i...
Hi Alex - I can't provide a sample as our code is way too complex. However you can simply replicate this using the Richtext setting in Showtextblock, then using this text (you will need to put 5 spaces between Hello and gooodbye as the Forum removes them too): <body><p><span style="xfa-spacerun:yes"...
Hi Again - After delivering this fix to a customer, they pointed out to us that while the text added with ShowTextblock while using "xfa-spacerun:yes" looks ok on the PDF, when you actually copy/paste to a text file there is only a single space. In fact you don't need to copy/paste from the PDF, you...
Hi - We've got a big problem with ShowTextBlock stripping out spaces from within strings. For example, if I use the string "Hello Goodbye", (Hello separated with multiple spaces - doesn't even show up in this Forum!!!!) it shows up on my document as: "Hello Goodbye". This a real issue for our client...
Hi - I'm using Core API v7.0.326.0 and having issues when trying to use Tabs within my text. I am successful with most XFA notation, but I keep getting errors when trying to use tabs. For example, this works fine: <body><p style="font-family:'Arial'; font-size:8pt; line-height:normal;">Lifecycle :Ex...
Only one issue: While running, after I select any sample from the left side, the "Go To Source" button does nothing,
nor does the code show in the window below the button.
I'm using ContentCreator, and ShowTextBlock. Is it possible to set the background of the textblock color ? For example, if I create a textblock with the intent of covering existing text, I would want the text to be black, and the background to be white... Or if want, white text on a black background...
So the basic answer is that a raster file when used for Annotation is actually converted to a PDF format,
which then implements the original image DPI - Correct?
Hi Stefan - I've looked at the pages and there is really no details - for example, Alex mentioned earlier in this post that the issue with CreateEmptyCollection has been fixed, but I see no mention of it anywhere. Also, for example there is this note: " Added the 'Merge Pages' tool/action." Where is...
Hi Alex - OK, I did some more testing and this is what I found: 1) I have two sample images - A.png and B.png A.png is 72x72 @ 72dpi B.png is 80x31 @ 150dpi 2) When I use A.png as an IPXC_Image (for general placement on a page) IPXC_Image AImage = pDoc.AddImageFromFile("A.png"); it is returned as 72...
Hi - I'm experiencing a problem where I load any raster image from file and the resulting size is too small. Specifically, I have a 100x100 pixel sample that is loaded as 72x72 and of course is too small when placed onto a page. This happens with every raster image I try - bmp, jpg, png. I'm using t...
I have some C# code which uses ShowTextBlock to first calculate the size of a TextBlock and then place it on a page. I am using the exact same properties, including the same text, except that I change the input pRect and pClip boundaries slightly. In one case the returned width is less than the inpu...
I'm getting a lot of Warnings (16) when I compile in Visual Studio 2017 (all current). I get two basic kinds of warnings: Severity Code Description Project File Line Suppression State Warning Processing COM reference "PDFXCoreAPI" from path "C:\Program Files (x86)\Tracker Software\Core API SDK\Bin\P...
It'll probably have to be something related to rect size and contents, although
I'm doing that now and have found issues (Alex pointed out the issue earlier...)
Hi Alex - Ok I see that, but the text itself is still part of the annotation - you can see a popup when you mouse-over. So, I am able to get the text from the Content property. My issue is trying to determine when the annotation is Vertical vs Horizontal, and since the rotation always shows 0, I'm t...
Hi Stefan - I've tried that and all Annotations return "0". I've previously sent a sample of this file for a different forum post - can you please check with Alex for "sample-Layout1_MONOComments.pdf" The Annotation in question is in the original post "NORTH", which is the tenth annotation in the PD...
Hi - I have been given a PDF that includes several Comments of this kind : pxInst.StrToAtom("Square") Some of the comments are rotated (or their content is, I'm not certain which) For example, when opening the PDF, most comments are normal - that is, horizontal just like this text. Some are vertical...
Hi - I have some PDFs that use a CropBox that is smaller than the MediaBox. I'd like to either: 1) Copy the contents of the CropBox so that I can apply it to a new page or 2) Make the Crop permanent by removing everything outside, including the excess Media. (preferred) Should I just resize the Medi...
What are the chances of implementing Layers in CoreAPI first - meaning that all the Visual UI stuff for the Editor
could be eliminated from the API and thus be completed sooner?
Hi Alex - The positioning is fine when using PlaceContent() for each time through the loop. So, is the positioning cumulative each time I use ShowTextBlock() ? Have you checked my emailed sample code? Thanks P.S. I've tried zooming out in Acrobat Pro and X-Change Editor and I see nothing beyond the ...