Search found 269 matches
- Tue Jun 05, 2018 1:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9468
Re: PlaceContent() runs very slow
Ok, I've just sent samples to support....
- Tue Jun 05, 2018 1:17 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9468
Re: PlaceContent() runs very slow
OK, I've tried this and I'm only getting some of the expected TextBlocks (3 out of 20). What is wrong? IPXC_ContentCreator contentCreator = pDoc.CreateContentCreator(); contentCreator.SetTextRenderMode(PXC_TextRenderingMode.TRM_Fill); IColor txtColor = auxInst.CreateColor(ColorType.ColorType_RGB); t...
- Mon Jun 04, 2018 6:32 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9468
Re: PlaceContent() runs very slow
So how would I handle 568 text boxes?
Would I make 568 contentCreator.ShowTextBlock() calls, and then a single PlaceContent() ?
Would I make 568 contentCreator.ShowTextBlock() calls, and then a single PlaceContent() ?
- Mon Jun 04, 2018 5:00 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9468
PlaceContent() runs very slow
Hi - I'm trying to take an existing PDF that has a lot of Text Comments, and make them searchable. I'm reading each text comment, then creating a TextBlock to represent it, including position, etc. My code is working fine, however, it is painfully slow. It takes 2+ minutes to process a single page w...
- Mon Jun 04, 2018 2:43 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
OK, thanks...
- Mon Jun 04, 2018 2:36 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
Hi Alex -
Can you tell me which version of the SDK ?
https://www.adobe.com/devnet/acrobat/downloads.html
-Wayne
Can you tell me which version of the SDK ?
https://www.adobe.com/devnet/acrobat/downloads.html
-Wayne
- Thu May 31, 2018 12:56 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
Hi Alex - Well, that's unfortunate...I thought you'd have a reference document of some kind (like for PDF/XFA) that details the Objects and Operations. As for the reference to EditorSDK - We don't use it - never have. I think you'll notice all my posts are in CoreAPI forum (except for a few in OCR)....
- Wed May 30, 2018 1:25 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
Hi Alex - The RequestObject/RequestOper flags are an issue for us - we are finding client files that have a variety of security enabled, and we need to be able to determine which Operations prevent us from working with the document. Without documentation, how are we to determine which of the 34 Oper...
- Tue May 29, 2018 3:01 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
Hi Alex - We are trying to determine which Permissions are affecting our ability to work with any given PDF. Can you tell which PDF document/specification you are using when implementing: RequestObject RequestOper I'm trying to find a reference to which Objects are controlled by which Operations For...
- Tue May 15, 2018 12:26 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
Hi Alex -
Yes, that seems like a better approach - we will try it and let you know how it works for us.
Thanks!
Yes, that seems like a better approach - we will try it and let you know how it works for us.
Thanks!
- Mon May 14, 2018 4:12 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
Hi Stefan -
That's interesting info though I'm not concerned about manipulating the file.
I'm mainly concerned that the API and the code I posted does not recognize the file as protected via Certifcate.
That's interesting info though I'm not concerned about manipulating the file.
I'm mainly concerned that the API and the code I posted does not recognize the file as protected via Certifcate.
- Mon May 14, 2018 3:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
OK, if you cannot find it shortly, let me know and I can resend it to whatever email address you like.
- Mon May 14, 2018 12:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Re: Need to detect Security on PDF
It was sent to the support email address with this subject: File to accompany Forum post
and a link to the post in the body.
As for the security used - I'm not certain as it is a client file.
and a link to the post in the body.
As for the security used - I'm not certain as it is a client file.
- Fri May 11, 2018 8:11 pm
- Forum: PDF-XChange Core API SDK
- Topic: Need to detect Security on PDF
- Replies: 19
- Views: 8142
Need to detect Security on PDF
Hi - We have implemented this code to check for Security, and it works on most PDFs except the one I have provided via email. // Checking whether the document has any security long llNameAtom; llNameAtom = loDoc.GetSecurityHandlerType(false); if (llNameAtom == 0) { // No security lbResult = false; }...
- Fri May 11, 2018 5:05 pm
- Forum: PDF-XChange Core API SDK
- Topic: Is there a "fit text to box" method?
- Replies: 3
- Views: 2034
Re: Is there a "fit text to box" method?
And, is there a way to add text to a PDF besides ShowtextBlock, ShowTextLine, Watermark, Annotation ?
- Fri May 11, 2018 1:25 pm
- Forum: PDF-XChange Core API SDK
- Topic: Is there a "fit text to box" method?
- Replies: 3
- Views: 2034
Is there a "fit text to box" method?
If I create a TextBlock or TextLine using ContentCreator, is there a method for automatically setting the font size, based on a string, to fit the Box? For example, if I have the string "This is my sample text" and a TextBlock or TextLine that is 20 points wide, is there a property that wi...
- Tue May 08, 2018 6:44 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
Summarize Comments? Not aware of that one....does it just extract all the comment text into a string? Typically we would want something like the results from OCR - "invisible" text boxes over the top of existing text that could be selected and/or searched.... (We only use the CoreAPI - not...
- Tue May 08, 2018 5:11 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
I think you are focusing on "autocad"
when the real question was whether or not you can convert annotations to a searchable text layer....
when the real question was whether or not you can convert annotations to a searchable text layer....
- Tue May 08, 2018 4:27 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
One more thing - I've noticed that the original PDF output from AutoCAD has all of the text
available as annotations - you can roll your cursor over any text and see the popup.
Can the annotations be transformed into a searchable text layer?
Thanks.
available as annotations - you can roll your cursor over any text and see the popup.
Can the annotations be transformed into a searchable text layer?
Thanks.
- Fri May 04, 2018 10:20 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
Thanks Daniel...
- Wed May 02, 2018 1:13 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
OK - For anyone reading this, here is a link to a FREE PDF structure browser that's very small:
https://sourceforge.net/projects/pdfinspector
Make sure you use the Pane menu to select the proper viewing windows or you won't see anything besides the basic Page hierarchy.
-Enjoy
https://sourceforge.net/projects/pdfinspector
Make sure you use the Pane menu to select the proper viewing windows or you won't see anything besides the basic Page hierarchy.
-Enjoy
- Wed May 02, 2018 12:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
Great! The image utility will help.
But still - for the stamp file creation - is this something that can be done with a 3rd party utility?
I understand I can find one to view the structure - but what about creating it?
Thanks again,
Wayne
But still - for the stamp file creation - is this something that can be done with a 3rd party utility?
I understand I can find one to view the structure - but what about creating it?
Thanks again,
Wayne
- Wed May 02, 2018 12:34 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
Hi Alex - though in your case, I don't see why you need it, because you can add stamps from file and name them as you like. Based on the questions I've asked so far, yes this is true. But if I want to use the capability of multiple stamps in a single PDF I'll need this info... As for the supported f...
- Tue May 01, 2018 3:07 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
And what is the PDF Structure Browser you are using?
How can someone create the Stamp PDF?
Sorry - one more:
Where can I find a list of allowed file types to use as stamps with this method:
How can someone create the Stamp PDF?
Sorry - one more:
Where can I find a list of allowed file types to use as stamps with this method:
Code: Select all
IAFS_File file = destPath.FileSys.OpenFile(destPath, openFileFlags);
- Tue May 01, 2018 2:44 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
Ok, you lost me on that one!
Where is the Names dictionary?
Where is the Names dictionary?
- Tue May 01, 2018 2:20 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
OK, one more question - this is about your sample code...
This line:
I understand getting the image from the Collection by index, but what do you mean by "they are sorted by name" ?
This line:
Code: Select all
IPXC_StampInfo si = sc[0]; //getting stamp by index - they are sorted by name
- Tue May 01, 2018 2:04 pm
- Forum: PDF-XChange Core API SDK
- Topic: Where is the new release changes documentation?
- Replies: 3
- Views: 1486
Re: Where is the new release changes documentation?
I'm having a very difficult time finding the changes/build notes link for Core API (I'm not interested in the Editor )
Can you please post it here or tell me exactly where I can find it?
Thanks!
Can you please post it here or tell me exactly where I can find it?
Thanks!
- Fri Apr 27, 2018 3:23 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
I was able to get better results, however still not as good as I was hoping. "They" are getting about 95% of the words using a color image, and the resulting fidelity is still great. I am getting about 80% of the words but sacrificing fidelity greatly. I can typically get more words at 200...
- Thu Apr 26, 2018 8:17 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
Hi Daniel -
I can make it darker but one of my concerns that I mentioned in the original post is that I
have results from another competitor that are nearly 100% using the exact same drawing, and
no changes in color.
I'm pretty sure they are using OCRTools too....
I can make it darker but one of my concerns that I mentioned in the original post is that I
have results from another competitor that are nearly 100% using the exact same drawing, and
no changes in color.
I'm pretty sure they are using OCRTools too....
- Thu Apr 26, 2018 5:37 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Re: Unable to get much text from OCR
OK, I just sent a zip file ~4mb...
- Thu Apr 26, 2018 12:59 pm
- Forum: PDF-X OCR SDK
- Topic: Unable to get much text from OCR
- Replies: 16
- Views: 11990
Unable to get much text from OCR
Hi - I'm using the sample OCR code provided with v7 of Pro SDK, and when I test either of the two PDFs, the result is about 10% text recognition. I used the defaults set in the sample app, but changed the DPI = 600. I've tested the same files using a competitor's app and they get near 100% (I'm pret...
- Thu Apr 26, 2018 12:47 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
Sure, that's what I meant - just like in your sample code....
- Thu Apr 26, 2018 12:19 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
ok, got it..
I'll follow the Sample code and use an existing one..."prime the pump" so to speak
I'll follow the Sample code and use an existing one..."prime the pump" so to speak
- Thu Apr 26, 2018 12:18 pm
- Forum: PDF-X OCR SDK
- Topic: Need Key and Code to use OCRTools dll
- Replies: 3
- Views: 5165
Re: Need Key and Code to use OCRTools dll
Hi Alex -
I ended up sending email to Sales to get the info....thanks anyway!
You can delete this post if you like...
I ended up sending email to Sales to get the info....thanks anyway!
You can delete this post if you like...
- Wed Apr 25, 2018 6:40 pm
- Forum: PDF-X OCR SDK
- Topic: Need Key and Code to use OCRTools dll
- Replies: 3
- Views: 5165
Need Key and Code to use OCRTools dll
I have a valid Pro SDK v7 license and would like the Key and Code necessary for me to use the OCRTools DLL
as indicated by this method:
Thank You.
as indicated by this method:
Code: Select all
hResult = PDFXOCR.PDFXOCR_Funcs.OCR_Init(out pdf, key, code);
- Wed Apr 25, 2018 4:39 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
OK, I've tried the sample code and it works fine and makes sense - it will help a lot. However, it doesn't really address my issue with the crashing code. Your sample starts with an existing Collection and not with CreateEmptyCollection which is where mine crashes... In your earlier response you ind...
- Wed Apr 25, 2018 1:24 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
Hi Alex -
Thanks for this code - I'll dig through it today.
FYI, since my last post I figured out how to access the Standard stamps (Item 1).
Thanks.
Thanks for this code - I'll dig through it today.
FYI, since my last post I figured out how to access the Standard stamps (Item 1).
Thanks.
- Tue Apr 24, 2018 5:46 pm
- Forum: PDF-XChange Core API SDK
- Topic: Where is the new release changes documentation?
- Replies: 3
- Views: 1486
Where is the new release changes documentation?
Where can I find documentation of the changes in the latest (7.0.325.0) release?
Bug fixes, modifications, etc...
Thanks.
Bug fixes, modifications, etc...
Thanks.
- Tue Apr 24, 2018 4:23 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
Re: How to use Stamp annotations in CoreAPI ?
I'm adding a reply to post partial code for using an Image as a Stamp (still unresolved). This is the code I have so far (using CoreAPI v7): IPXC_StampsManager myMgr = pxcInst.StampsManager; IPXC_StampsCollection junk = myMgr.CreateEmptyCollection("WEH"); //Why crashing here? //Getting IAF...
- Tue Apr 24, 2018 12:49 pm
- Forum: PDF-XChange Core API SDK
- Topic: Annotation details
- Replies: 7
- Views: 2368
Re: Annotation details
Hi Alex -
Ok, it seems odd to me that you'd remove Justify, but as long as it can be done in one way or another....
-Wayne
Ok, it seems odd to me that you'd remove Justify, but as long as it can be done in one way or another....
-Wayne
- Mon Apr 23, 2018 9:26 pm
- Forum: PDF-XChange Core API SDK
- Topic: Annotation details
- Replies: 7
- Views: 2368
Re: Annotation details
Hi Alex - I've runs some tests and it appears that there is a typo in the XFA spec regarding "justifyall" XFA claims to support it, but it does not work in the TextBlock or in the Annotation. (see page 1190, Horizontal Alignment in XFA spec) I've tried "text-align:justifyall;" an...
- Mon Apr 23, 2018 5:54 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14968
How to use Stamp annotations in CoreAPI ?
Hi - I've got C# code that handles "FreeText" annotations, and now I would like to work with "Stamps", however I cannot find any sample code or descriptions. For example, I've tried this basic code which only yields the "DRAFT" stamp - the same one I see in the Editor S...
- Thu Apr 19, 2018 1:22 pm
- Forum: PDF-XChange Core API SDK
- Topic: Annotation details
- Replies: 7
- Views: 2368
Re: Annotation details
Hi Alex -
Ok, so:
1) We wait to hear about the code typo and fix so that PXC_TextJustification works properly
2) I can implement code based on your link to insert the necessary text-align setting into the existing text.
3) Is there any way to use "JustifyAll" in an annotation?
Correct?
Ok, so:
1) We wait to hear about the code typo and fix so that PXC_TextJustification works properly
2) I can implement code based on your link to insert the necessary text-align setting into the existing text.
3) Is there any way to use "JustifyAll" in an annotation?
Correct?
- Wed Apr 18, 2018 12:53 pm
- Forum: PDF-XChange Core API SDK
- Topic: Stroke/Outline issue with ShowTextBlock
- Replies: 7
- Views: 2825
Re: Stroke/Outline issue with ShowTextBlock
Hi Alex - I reviewed the word sample, and you're right (again!) - I was being stupid and confusing font size with thickness. So, yes, I need a way to apply the stroke after the scaling of the font.... The code I'm using is actually code that you supplied here: https://forum.pdf-xchange.com/viewtopic...
- Tue Apr 17, 2018 6:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: Annotation details
- Replies: 7
- Views: 2368
Annotation details
I thought I'd start a new thread since the other is getting a bit long. I have a few questions about Fonts and Alignment when using the Annotation "FreeText" First, I assume this is the same as a "Text Box" when in the editor. Here is a screenshot from the editor: http://www.coas...
- Tue Apr 17, 2018 2:05 pm
- Forum: PDF-XChange Core API SDK
- Topic: Stroke/Outline issue with ShowTextBlock
- Replies: 7
- Views: 2825
Re: Stroke/Outline issue with ShowTextBlock
I'm using ContentCreator for the Font and Drawing (is that what you mean when you refer to CTM?) contentCreator.SetStrokeColorRGB(color.RGB); contentCreator.SetLineWidth(1); ... contentCreator.ConcatCS(mResMatrix); ... contentCreator.ShowTextBlock.... So how can I keep the Stroke at a specific value...
- Tue Apr 17, 2018 1:12 pm
- Forum: PDF-XChange Core API SDK
- Topic: Stroke/Outline issue with ShowTextBlock
- Replies: 7
- Views: 2825
Re: Stroke/Outline issue with ShowTextBlock
Unchecking 'relative' only makes the font size exact (instead of auto-scaling up to fit). However, when the font size is small, the stroke is still way too large: http://www.coastallogic.com/public/Snap1newoutline.png Plus, since I'm using CoreAPI I would need an equivalent to "scale relative&q...
- Mon Apr 16, 2018 2:37 pm
- Forum: PDF-XChange Core API SDK
- Topic: Stroke/Outline issue with ShowTextBlock
- Replies: 7
- Views: 2825
Stroke/Outline issue with ShowTextBlock
Hi - I'm using ContentCreator and ShowtextBlock to add text to my PDF, and I've found an issue when using Stroke and font size. Even though I'm using CoreAPI, I've replicated the problem in PDF-XChange Editor and used the screenshots here. The issue is that the Stroke Width is not absolute, but seem...
- Mon Apr 16, 2018 1:29 pm
- Forum: PDF-XChange Core API SDK
- Topic: DrawRect usage
- Replies: 5
- Views: 2598
Re: DrawRect usage
Yeah, I assumed that there was a comparable API in Core but wasn't sure of the name....thanks.
- Mon Apr 16, 2018 1:00 pm
- Forum: PDF-XChange Core API SDK
- Topic: Adding Annotation(s)
- Replies: 13
- Views: 3741
Re: Adding Annotation(s)
Well, that makes sense!
Thanks again,
Wayne
Thanks again,
Wayne