Search found 70 matches
- Wed Mar 13, 2019 9:27 am
- Forum: PDF-XChange Core API SDK
- Topic: Transparency while inserting EMF picture.
- Replies: 3
- Views: 3102
- Mon Mar 04, 2019 9:38 am
- Forum: PDF-XChange Core API SDK
- Topic: Transparency while inserting EMF picture.
- Replies: 3
- Views: 3102
Transparency while inserting EMF picture.
Hello, some time ago I was asking a question about the transparency issue when I insert EMF image into the PDF. Here is original topic: https://forum.pdf-xchange.com/viewtopic.php?f=44&t=11872 Could you please let me know, if this issue is resolved in Core API SDK latestest versions? As far as I...
- Mon Jun 04, 2018 11:22 am
- Forum: PDF-XChange Editor SDK
- Topic: Gradient fill
- Replies: 5
- Views: 2006
Re: Gradient fill
Hi, where is this "Stroke Adjust" option?
- Fri Jun 01, 2018 4:33 pm
- Forum: PDF-XChange Editor SDK
- Topic: Gradient fill
- Replies: 5
- Views: 2006
Re: Gradient fill
Hi Victor, thanks for response. Issue is a bit more complex. We generating the PDF from the EMF image, which is result of GDI+ output. We use core API SDK for this. This topic below is an illustration of how it is used. https://forum.pdf-xchange.com/viewtopic.php?f=67&t=24322&p=94991&hil...
- Wed May 30, 2018 4:54 pm
- Forum: PDF-XChange Editor SDK
- Topic: Gradient fill
- Replies: 5
- Views: 2006
Gradient fill
Hello, here is the file created with the CoreAPI SDK. The box is filled by gradient brush. However, inside the PDFX Editor I see the many horizontal lines instead of gradient fill. Adobe Reader shows this file properly as gradient filled box. Anything wrong with the PDF output generation, or issue w...
- Thu Aug 03, 2017 11:02 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Hello, this is PDFXEdit, but we need PDFXCoreAPI.x64. Can I get it?
Regards
Regards
- Tue Aug 01, 2017 9:31 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Hi, any updates on this?
- Thu Jul 27, 2017 12:38 pm
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Another case... If the we use custom line style ( PS_USERSTYLE ), x64 & Win32 CoreAPI behaves differently. x64 version produces incorrect result. Win32 version works as expected. Here is the code, used to output line: //#define PS_DASH 1 /* ------- */ //#define PS_DOT 2 /* ....... */ //#define P...
- Thu Jul 27, 2017 11:13 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Hello, here is initial test result: Archive contains 2 files: PDF & PowerPoint with the EMF, inserted. Note, that as soon as the line thickness grows up, PDF output become different. Lengths of the line elements ( dot, dash, space ) do not correspond to the line thickness. Could this be fixed? T...
- Tue Jul 25, 2017 4:35 pm
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Thank you very much! I've inserted this into the code. Looks working!!! We continue testing and let you know if something. The one found issue is: If I create pen with this options: HPEN hPen = ::ExtCreatePen(PS_JOIN_ROUND | PS_ENDCAP_FLAT | PS_GEOMETRIC | gdiPlusPen->GetDashStyle(), iLineWidth ,&am...
- Tue Jul 25, 2017 7:44 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Thanks, Stefan!
- Mon Jul 24, 2017 11:15 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Stefan, any update on this?
Regards,
Regards,
- Thu Jul 20, 2017 10:04 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Hi Stefan, thank you for the care about this. I understand that not only this fix is included into the 323, and that's why you can't release or even share it prior proper testing. That's Ok. However, isn't it possible to take the last stable release, include this patch, rebuild and give it us. As fa...
- Wed Jul 19, 2017 11:58 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Alex, any time forecasts? The matter is that this bug is show stopper for our product. x64 edition.
Regards,
Regards,
- Wed Jul 19, 2017 9:44 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Looks excellent. Can I get the new build?
- Tue Jul 18, 2017 12:40 pm
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Re: Line style in EMF
Here you are
- Tue Jul 18, 2017 11:04 am
- Forum: PDF-XChange Core API SDK
- Topic: Line style in EMF
- Replies: 25
- Views: 7409
Line style in EMF
Hello, we are using Core API SDK to generate the PDF with the embedded EMF file. This way EMF is placed to PDF output using the code like this: HRESULT PDFXBuilder::PlaceMetafile(PageItem* pageItem, HENHMETAFILE hMeta, const PXC::PXC_Rect& rc) { HRESULT hr = S_OK; try { CComPtr<PXC::IPXC_XForm> ...
- Wed Jun 14, 2017 1:20 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Hello, thank you. I could draw text. How can I draw image? I tried to use IStreamWrapper class, which is described in some of your posts, but failed. What I have is .Net Bitmap ( Image ) object. I need to convert it to PDFXEdit.IUIX_ImageData, so I could use it in pRC_.DrawImage(. How can I do this?...
- Tue Jun 13, 2017 1:23 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Alex, I'm unable to build this sample. It seems uses VS2105. Also, it is CoreAPI sample and uses different interfaces than IUIX_RenderContext. I've spent a lot of time trying to implement simple things with your SDK. This is because it is not documented. This is not my fault. Could you please give m...
- Tue Jun 13, 2017 11:43 am
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Thanks Alex.
Could you please also point me to some description or sample on how to use pRC_.DrawString(
What I really need is draw Watermark string through the each page of the document. ( opacity is needed )
Thanks again!
Could you please also point me to some description or sample on how to use pRC_.DrawString(
What I really need is draw Watermark string through the each page of the document. ( opacity is needed )
Thanks again!
- Fri Jun 09, 2017 3:14 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Ok. Thank you. works.
But What is the ?
I thought this is also page rectangle.....
But What is the
Code: Select all
pPageRegions[i].rcPageRect
I thought this is also page rectangle.....
- Fri Jun 09, 2017 2:36 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Alex, I think that issue is in some object marshaling....look at the code below: public void OnDrawPagesView(PDFXEdit.IPXV_PagesView pView, PDFXEdit.PXV_PagesViewDrawStage nStage, PDFXEdit.IUIX_RenderContext pRC, PDFXEdit.IPXV_PagesLayoutRegions pPageRegions) { if (pView == null) return; //Drawing r...
- Fri Jun 09, 2017 12:43 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
No, this is in project settings. Both use .Net Framework 4 Client Profile
- Fri Jun 09, 2017 12:00 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Just checked again.... If I start under VS2013 - it works. If I start under VS2010 - it does not.... any thoughts?
- Fri Jun 09, 2017 11:34 am
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
No, this didn't help . Have you tried to build/run my project?
- Fri Jun 09, 2017 10:43 am
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Not working.... project attached
Thank you.
Thank you.
- Thu Jun 08, 2017 3:54 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Seems I got rid of exceptions and callback registrations issues. (
But I still do not see the rectangles... Ideas?
Code: Select all
int id = pdfCtl.Inst.Str2ID("e.document.beforeClose");
pdfCtl.EnableEventListening2(id, bRegister);
- Thu Jun 08, 2017 3:31 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Does not work.... private void pdfCtl_OnEvent(object sender, AxPDFXEdit._IPXV_ControlEvents_OnEventEvent e) { try { if (e.nEventID == _editorIDS.nIDS[(int)IDS.e_activeDocChanged]) { if (_doc != null) _doc.ActiveView.PagesView.UnregisterDrawCallback(PDFXEdit.PXV_PagesViewDrawStage.PXV_PagesViewDraw_F...
- Thu Jun 08, 2017 9:40 am
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
int id = pdfCtl.Inst.Str2ID("e.document.beforeClose");
Correct?
Correct?
- Wed Jun 07, 2017 5:10 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Could you please give some code example? Not sure I understand..... I have this in my code private void pdfCtl_OnEvent(object sender, AxPDFXEdit._IPXV_ControlEvents_OnEventEvent e) { } And this: this.pdfCtl.OnEvent += new AxPDFXEdit._IPXV_ControlEvents_OnEventEventHandler(this.pdfCtl_OnEvent); Until...
- Wed Jun 07, 2017 3:36 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Thanks, sorry, can't find where these e.activeDocChanged , e.document.beforeClose are defined?
- Wed Jun 07, 2017 1:42 pm
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Re: Watermark
Thanks, Sasha. I did the following: 1. I took the code from the sample, you've pointed me to. 2. I changed the m_aInst.MathHelper.Matrix_TransformRect(ref p2v, ref rc); to m_aInst.MathHelper.Rect_Transform(ref p2v, ref rc); as compiler failed to find method. 3. I tried to register/unregister call ba...
- Tue Jun 06, 2017 9:41 am
- Forum: PDF-XChange Editor SDK
- Topic: Watermark
- Replies: 30
- Views: 5803
Watermark
Hello, I found some operations which are placing the watermark on to the document. But how can I setup watermark in such a way that it'd be visible for the end user in process of his work over document, and user could not remove it? Same way as I can see Tracker-Soft's Watermark image. ( See attach ...
- Wed Mar 22, 2017 10:23 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hi, Ok, just emailed.
Thank you
Thank you
- Wed Mar 22, 2017 9:53 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hello, I found today that update version 6.03.321 is available.
We have licensed 6.03.317 version.
After the updating the library I got the watermark image.
Could you please provide the valid key?
( How should I send you my current license key?)
Regards,
Yury
We have licensed 6.03.317 version.
After the updating the library I got the watermark image.
Could you please provide the valid key?
( How should I send you my current license key?)
Regards,
Yury
- Fri Jul 22, 2016 10:25 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Well, yes, I see it now. However, these parsers are rather old. The one which you show on the screenshot - EMFParser.exe looks dated 2006 year. Right? I'm not specialist in EMF structure, but this parser does not even distinguish EMR_HEADER Record Types https://msdn.microsoft.com/en-us/library/cc230...
- Thu Jul 21, 2016 2:49 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hello, any updates? May be we could use some workaround?
Also, here is emf parser ( source code ), which seems parses it correctly.
http://www.codeproject.com/Articles/8410/WebControls/
Regards
Also, here is emf parser ( source code ), which seems parses it correctly.
http://www.codeproject.com/Articles/8410/WebControls/
Regards
- Wed Jul 20, 2016 2:32 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Here you are. Thanks. for now just renamed from EMF to PDF.
- Wed Jul 20, 2016 2:15 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Try this, however, I'm not sure that MS allows save metafile on to the HD properly.
This operation is prohibited in GDI+. I used workaround and just saved memory stream
(rename pdf ext to emf. looks this is the only extension which is allowed to attach)
This operation is prohibited in GDI+. I used workaround and just saved memory stream
(rename pdf ext to emf. looks this is the only extension which is allowed to attach)
- Wed Jul 20, 2016 12:42 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hello, seems I have another issue. Could you please research and let me know what to do with the following: I have one machine ( screen resolution is 1920x108) at my office and I connect to it from home machine using the Remote Desktop. Home machine has 2500x1400 (QHD) resolution. I do PDF publishin...
- Fri Jul 01, 2016 12:05 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Thanks, Alex.
Confirm p. 1 - Arabic text looks Ok now.
Confirm p. 1 - Arabic text looks Ok now.
- Fri Jul 01, 2016 11:19 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hello, are there any news about my issues, described here? 1. Arabic text 2. Optimization substitution: m_hLastError = PXCp_OptimizeFonts( hDocument, 0 ); if (IS_DS_FAILED(m_hLastError)) return false; m_hLastError = PXCp_OptimizeStreamCompression( hDocument ); if (IS_DS_FAILED(m_hLastError)) return ...
- Wed Oct 14, 2015 8:31 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Here you are
- Tue Oct 13, 2015 9:47 am
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hello, any comments?
- Sat Oct 10, 2015 2:54 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
And I've just checked ... if I save image before placing the EMF, //////////////////////////////////////////////// RectF rcFullBound; Unit unit; pImage->GetBounds( &rcFullBound, &unit ); Bitmap* pBitmap = new Bitmap( (int)rcFullBound.Width, (int)rcFullBound.Height, PixelFormat32bppRGB ); Gra...
- Sat Oct 10, 2015 2:03 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Ok. thank you. We looks have issue with the Arabic text in EMF insertion. See the attached archive. File arabic.txt contains the original arabic text. The PDFs are produced from the EMF & from BITMAP of the same output image. Look, that text in the EMF version is different from what is in Bitmap...
- Fri Oct 09, 2015 2:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
OK. great. everything is working... More questions: 1. I was using PXC_AddLink( (_PXCContent*)(pageItem->_page), &rc, (LPCSTR)str.c_str() , NULL ); to output the external URLs like http://someweb.com/s/d/ What is the substitution method for this? I could not find. 2. There were the document opti...
- Thu Oct 08, 2015 5:08 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Hi, looks like working... Quick question: Annotations. How can I get read of border around it? I tried several ways, but they not working... This is what I was trying to do, still think black rectangle around it: CComPtr<PXC::IPXC_Annotation> pNewAnnot; // add new annotation with type nLinkAnnotType...
- Tue Oct 06, 2015 3:17 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
Sorry, Sasha, still not clear I have 2 pages: CComPtr<IPXC_Page> pPageOn; CComPtr<IPXC_Page> pPageTo; I have PXC_Rect rcBoundRect on pPage1 How do I make a GoTo, so if I click on rcBoundRect in pPage1, it'd move me to pPage2. IPXC_Document m_pDoc; // created void AddGoToAction( CComPtr<IPXC_Page> pP...
- Tue Oct 06, 2015 2:15 pm
- Forum: PDF-XChange Core API SDK
- Topic: Core API SDK SOLVED
- Replies: 43
- Views: 14696
Re: Core API SDK SOLVED
So here is an example of links I need