Search found 664 matches

by Corwin - Tracker Sup
Thu Dec 16, 2010 4:27 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Viewer ActiveX Control Registrationless Activation
Replies: 31
Views: 9700

Re: PDF Viewer ActiveX Control Registrationless Activation

Hi Hans-Peter, In VS 2008 VB.NET you cannot create an executable file without the manifest. However you may modify an existing app.manifest. To do this, just go to the project properties, click on "Viewe UAC Settings". This will open the "app.manifest" file. So you need to replac...
by Corwin - Tracker Sup
Wed Dec 15, 2010 5:27 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Pen Tool Switches to "Move" During Natural Writing Motion
Replies: 48
Views: 18392

Re: Pen Tool Switches to "Move" During Natural Writing Motion

Hi hbouzagl, As I can see non of standard gestures works on document page in PDFAnnotator. Maybe you can give more information, of how to enable it? Also you may be interested that PDFAnnotator doesn't create real PDF inc annotations. This can be checked by Acrobat or PDFX Viewer - ink annotations c...
by Corwin - Tracker Sup
Mon Dec 13, 2010 3:05 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Pen Tool Switches to "Move" During Natural Writing Motion
Replies: 48
Views: 18392

Re: Pen Tool Switches to "Move" During Natural Writing Motion

Hello,

It looks like PDFannotator doesn't support any kind of gestures (even Windows 7 standard). Such behaviour indeed can fix problems with creating annotations, but this will cause inconvenience for people who like to use gestures in Windows apps.
by Corwin - Tracker Sup
Thu Dec 09, 2010 6:53 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Memory corruption with PXCp_ET_GetElement in .NET
Replies: 6
Views: 2660

Re: Memory corruption with PXCp_ET_GetElement in .NET

Hi ondrejb,

Using GCHandle.Alloc function you should allocate pinned handle:
offsetsHandle = System.Runtime.InteropServices.GCHandle.Alloc(offsets, GCHandleType.Pinned)
HTH.
by Corwin - Tracker Sup
Thu Dec 09, 2010 4:04 pm
Forum: PDF-XChange Viewer SDK
Topic: How to use PDF Viewer in ASP.NET application
Replies: 41
Views: 16837

Re: How to use PDF Viewer in ASP.NET application

Hi Muralidhar, "-2081161211" at the statement PDFXC_Funcs.PXC_WriteDocumentExA(pdf, fname_local, fname_local.Length, fl, ""); You can get a description of any received error by using GetDSErrorString. Also there is example of call to this function in PDFXCDemo_asp_net: int ret = ...
by Corwin - Tracker Sup
Thu Dec 09, 2010 2:03 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Pen Tool Switches to "Move" During Natural Writing Motion
Replies: 48
Views: 18392

Re: Pen Tool Switches to "Move" During Natural Writing Motion

Hi sunbun, We have tested commenting tool on different devices with touch screen and pen input, but still was unable to reproduce such behaviour on any of them. It looks like you have some third party software that recognizes your vertical pen movement as gesture and blocks commenting in our Viewer....
by Corwin - Tracker Sup
Wed Dec 08, 2010 3:26 pm
Forum: PDF-XChange Viewer SDK
Topic: StretchDraw?
Replies: 22
Views: 5469

Re: StretchDraw?

As you will agree this image file has pretty large resolution, so I'm afraid that we cannot make bilinear stretch method faster.
by Corwin - Tracker Sup
Tue Dec 07, 2010 6:11 pm
Forum: PDF-XChange Viewer SDK
Topic: StretchDraw?
Replies: 22
Views: 5469

Re: StretchDraw?

Can you send us this image file?

Thanks.
by Corwin - Tracker Sup
Tue Dec 07, 2010 12:09 pm
Forum: PDF-XChange Viewer SDK
Topic: StretchDraw?
Replies: 22
Views: 5469

Re: StretchDraw?

Hello Mike,

As I can see here - bilinear method is fast enough. How exactly you have test it?
by Corwin - Tracker Sup
Wed Dec 01, 2010 5:21 pm
Forum: PDF-XChange Viewer SDK
Topic: Found an error if computer running XP, works in Vista and W7
Replies: 6
Views: 1939

Re: Found an error if computer running XP, works in Vista and W7

Hi magthenop,

I have tested this on my Win XP with latest viewer SDK and doesn't find any problem with this. One more question: can you reproduce such behavior with Viewer SDK example projects? If so, then please write step-by-step instruction of how this can be reproduced.

Thanks.
by Corwin - Tracker Sup
Fri Nov 26, 2010 4:30 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Viewer ActiveX Control Registrationless Activation
Replies: 31
Views: 9700

Re: PDF Viewer ActiveX Control Registrationless Activation

Hi, In DotNet environment you should create application without manifest (this may be configured in VS->Project->Properties->"Application tab"->Manifest->"Create application without manifest"). After this you need to add following files to your application directory: PDFXCviewAx....
by Corwin - Tracker Sup
Tue Nov 16, 2010 7:12 pm
Forum: Office2PDF & MS Office Addin
Topic: PDF XChange Office Addin & normal.dot
Replies: 8
Views: 5162

Re: PDF XChange Office Addin & normal.dot

Hi David,

It looks like some problem with MSI installer.
Can you please try to reinstall PDF-XChange using exe installer and report back if problem still occurs.

Thanks.
by Corwin - Tracker Sup
Mon Nov 15, 2010 12:49 pm
Forum: PDF-XChange Viewer SDK
Topic: Performance problems while using double-buffering
Replies: 3
Views: 1217

Re: Performance problems while using double-buffering

Hi Dennis,

In DotNet environment you should use DoubleBuffered property
http://msdn.microsoft.com/en-us/library ... fered.aspx
HTH.
by Corwin - Tracker Sup
Fri Nov 12, 2010 3:35 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF/A
Replies: 7
Views: 2282

Re: PDF/A

Hi Jeff,

Code: Select all

.... // PXC_40.pas
function PXC_NewDocumentEx(pdf:pHPDF; key, DevCode:PAnsiChar; pdfMode:DWORD):HRESULT;stdcall;external pxclib;
.... // PXC_40_Const.pas
const
// PXC_PDFX_Mode
PDFX_None = 0;
PDFA_1a = 1;
PDFA_1b = 2;
HTH.
by Corwin - Tracker Sup
Wed Nov 10, 2010 2:48 pm
Forum: PDF-XChange Viewer SDK
Topic: Highlighting Color
Replies: 3
Views: 2071

Re: Highlighting Color

Hi Ashley, You may try to use following code. This will create highlight with name HighlightName1: Dim idDoc As Integer = 0 AxCoPDFXCview1.GetActiveDocument(idDoc) Dim vDataIn As Object Dim vDataOut As Object = Nothing Dim vArr(5) As Object vArr(0) = 0 vArr(1) = 10 vArr(2) = ColorTranslator.ToWin32(...
by Corwin - Tracker Sup
Fri Nov 05, 2010 12:43 pm
Forum: PDF-XChange Viewer SDK
Topic: MediaBox CropBox
Replies: 1
Views: 1029

Re: MediaBox CropBox

Hi,

You should use full property name: "Pages[0].CropBox.left", "Pages[0].CropBox.right" etc.

HTH.
by Corwin - Tracker Sup
Tue Oct 26, 2010 5:46 pm
Forum: PDF-XChange Viewer SDK
Topic: DoVerb vs. SetProperty OR bug?
Replies: 5
Views: 1822

Re: DoVerb vs. SetProperty OR bug?

Actually "Print.PrintSpec" doesn't have any nodes too. As described in the to documentation, if a property has a type "Group" then it has nodes, which you can set. If the type is "Integer/String" then you need to set integer or string values to this property (but not to...
by Corwin - Tracker Sup
Tue Oct 26, 2010 5:08 pm
Forum: PDF-XChange Viewer SDK
Topic: DoVerb vs. SetProperty OR bug?
Replies: 5
Views: 1822

Re: DoVerb vs. SetProperty OR bug?

Hi, Please note, that "Print.ScaleType" property doesn't have any nodes, so you need directly set integer or string value to it: DoVerb("Print.ScaleType", "set", "ReduceToMargins", vDataOut,0); or SetProperty("Print.ScaleType", "ReduceToMargins&...
by Corwin - Tracker Sup
Tue Oct 26, 2010 4:36 pm
Forum: PDF-XChange Viewer SDK
Topic: How to mimic the PDFXChange Viewer when Resetting a pop-up?
Replies: 3
Views: 1355

Re: How to mimic the PDFXChange Viewer when Resetting a pop-up?

It will be much easier to investigate if you send us simple project.
Thanks.
by Corwin - Tracker Sup
Tue Oct 26, 2010 11:50 am
Forum: PDF-XChange Viewer SDK
Topic: How to mimic the PDFXChange Viewer when Resetting a pop-up?
Replies: 3
Views: 1355

Re: How to mimic the PDFXChange Viewer when Resetting a pop-up?

Hello,

Are you sure that rectangle annotation is selected when you execute "Reset pop-up note location" command? I have tried to execute all your commands (in Commands sample) and it works fine for me.
by Corwin - Tracker Sup
Mon Oct 25, 2010 12:57 pm
Forum: PDF-XChange Viewer SDK
Topic: ink strokes in the PDF viewer as annotation
Replies: 9
Views: 2998

Re: ink strokes in the PDF viewer as annotation

Hello Henri, Try this code: Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim inch, x0, y0 As Integer Dim scaledInch As Double Dim nNodes As Integer Dim theta As Double inch = 72 x0 = 2 * inch y0 = 4 * inch scaledInch = inch * 0.5 nNodes ...
by Corwin - Tracker Sup
Fri Oct 22, 2010 12:59 pm
Forum: PDF-XChange Viewer SDK
Topic: ink strokes in the PDF viewer as annotation
Replies: 9
Views: 2998

Re: ink strokes in the PDF viewer as annotation

Hi Henri,

You cannot pass points array directly to RunJavaScript function. First you need to convert it to string.
by Corwin - Tracker Sup
Sat Oct 16, 2010 2:39 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4442

Re: How to save pdf to string or variant to work with database?

Hi gpxi,

I'm afraid, that we cannot provide you such information.
by Corwin - Tracker Sup
Fri Oct 15, 2010 4:36 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4442

Re: How to save pdf to string or variant to work with database?

Hi,

You need to set start position of ADODB.Stream after writing to it:

Code: Select all

...
mystream.Write rsLookup(0)("FileBlob")
...
mystream.Position = 0
b = mystream.Read
by Corwin - Tracker Sup
Thu Oct 14, 2010 2:20 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4442

Re: How to save pdf to string or variant to work with database?

Hi gpxi, Please, try to use following code: Dim m_istm As VBStrm.IStream ... Private Sub Command24_Click() Dim vDataOut As Variant, vDataIn As Variant Dim vArr(2) As Variant Dim varg1 As Variant Dim varg2 As Variant Set m_istm = Nothing Set mystream = New ADODB.Stream mystream.Type = adTypeBinary my...
by Corwin - Tracker Sup
Wed Oct 13, 2010 2:44 pm
Forum: Office2PDF & MS Office Addin
Topic: User not able to load PXCOfficeAddin4.dll
Replies: 7
Views: 6642

Re: User not able to load PXCOfficeAddin4.dll

Hello Michael,

Thanks for info. This problem will be fixed in next build of PDF-XChange.
by Corwin - Tracker Sup
Mon Oct 11, 2010 1:57 pm
Forum: Office2PDF & MS Office Addin
Topic: User not able to load PXCOfficeAddin4.dll
Replies: 7
Views: 6642

Re: User not able to load PXCOfficeAddin4.dll

Hi Michael,

Can you specify, what version of Windows you are using - x86 or x64?
by Corwin - Tracker Sup
Thu Oct 07, 2010 12:12 pm
Forum: PDF-XChange Viewer SDK
Topic: Extract text missing CR characters
Replies: 10
Views: 3275

Re: Extract text missing CR characters

Hi Andrea, Try to use following code: axCoPDFXCview1.DoVerb("Documents[0].Pages[" + pageNo.ToString() + "].Text.Lines.Count", "get", null, out countLines, 0); for (int i = 0; i < (int)countLines; i++) { object offset; object length; object dataOut = null; //axCoPDFXCvie...
by Corwin - Tracker Sup
Wed Sep 29, 2010 1:22 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Problem with Transformpage function
Replies: 15
Views: 5355

Re: Problem with Transformpage function

Hi wesallen, You should replace your PXCp_ContentPlaceInfo declaration by this: Public Structure PXCp_ContentPlaceInfo Public DestPage As Integer Public SrcPage As Integer Public Alignment As Integer End Structure Also it will be better to use dynamic array: Dim placeInfo() As XCPro40_Defs.PXCp_Cont...
by Corwin - Tracker Sup
Wed Sep 29, 2010 11:27 am
Forum: PDF-XChange Viewer SDK
Topic: Newdocumentfromrtf sample requested
Replies: 6
Views: 2132

Re: Newdocumentfromrtf sample requested

Hi,

In current version you can open PDF file using memory stream, however this is not working for RTF documents. So you still will need to save RTF and then open it via NewDocumentFromRTF command.
by Corwin - Tracker Sup
Tue Sep 28, 2010 10:42 am
Forum: PDF-XChange Viewer SDK
Topic: Newdocumentfromrtf sample requested
Replies: 6
Views: 2132

Re: Newdocumentfromrtf sample requested

Hello gpxi, Try to use following code: Dim vArr(2) As Variant Dim vDataIn As Variant Dim vDataOut As Variant vArr(0) = "e:\Document1.rtf" vArr(1) = "e:\Document2.rtf" vDataIn = vArr Call CoPDFXCview1.DoVerb("", "NewDocumentFromRTF", vDataIn, vDataOut, 0) or Ca...
by Corwin - Tracker Sup
Fri Sep 24, 2010 2:25 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Problem with Transformpage function
Replies: 15
Views: 5355

Re: Problem with Transformpage function

Hi wesallen,

Here are some fixes to your code
by Corwin - Tracker Sup
Wed Sep 22, 2010 12:33 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Problem with Transformpage function
Replies: 15
Views: 5355

Re: Problem with Transformpage function

Hi wesallen,

We are planing an update for most functions declaration, in next few days.
by Corwin - Tracker Sup
Tue Sep 21, 2010 4:07 pm
Forum: PDF-XChange Viewer (End Users)
Topic: PDF-XChange Pro and Google search results
Replies: 10
Views: 3578

Re: PDF-XChange Pro and Google search results

Hi,

I have tried to reproduce such behaviour on different test configurations, but with no luck. PDF-XChange Viewer opens pdf without any prompt for file download (even if this option is enabled in browser). Maybe you have some other security settings then I'm not aware of?
by Corwin - Tracker Sup
Tue Sep 21, 2010 1:34 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Problem with Transformpage function
Replies: 15
Views: 5355

Re: Problem with Transformpage function

Hi wesallen,

Try to use this declaration:
<DllImport("xcpro40")> Public Shared Function PXCp_TransformPage(ByVal ptrdoc As IntPtr, ByVal PageNumber As Integer, ByRef matrix As PXC_Matrix, ByVal flags As Integer) As Integer

HTH
by Corwin - Tracker Sup
Mon Sep 20, 2010 3:18 pm
Forum: PDF-XChange Viewer (End Users)
Topic: PDF-XChange Pro and Google search results
Replies: 10
Views: 3578

Re: PDF-XChange Pro and Google search results

Hi Christjan, Can you check your IE security settings? To do this you need to go to: Tools-> Internet Options dialog, show "Security" tab, click on "Custom level button", scroll down to "Downloads" and set "Automatic Prompting for file downloads" to "Disa...
by Corwin - Tracker Sup
Tue Sep 14, 2010 4:18 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Can PDF documents be copied to a new file?
Replies: 4
Views: 1387

Re: Can PDF documents be copied to a new file?

Hi Robert,

To do this, you may use ExtractPages command. For more information, please, see PDF-XChange Viewer ActiveX SDK help.

HTH.
by Corwin - Tracker Sup
Wed Sep 01, 2010 11:08 am
Forum: PDF-XChange Drivers API SDK
Topic: Callback MFC Sample Without ATL
Replies: 4
Views: 2389

Re: Callback MFC Sample Without ATL

Hi Peter,

Can you please send us your sample project, so we can check it here?
by Corwin - Tracker Sup
Tue Aug 10, 2010 12:06 pm
Forum: PDF-XChange Print Drivers
Topic: garbled print from publisher 2003
Replies: 12
Views: 3449

Re: garbled print from publisher 2003

Hi Calude,

We have tried to reproduce your problem on diffrent PC's with different modifications of Office 2003, but with no luck :( It looks like some local problem with your version of MS Office.
by Corwin - Tracker Sup
Fri Aug 06, 2010 2:37 pm
Forum: PDF-XChange Print Drivers
Topic: garbled print from publisher 2003
Replies: 12
Views: 3449

Re: garbled print from publisher 2003

Thanks for info.

Can I also ask you, to send us Excel document, so we can check this problem with addin here?
by Corwin - Tracker Sup
Thu Aug 05, 2010 2:00 pm
Forum: PDF-XChange Print Drivers
Topic: garbled print from publisher 2003
Replies: 12
Views: 3449

Re: garbled print from publisher 2003

Hi Calude,

Please, can you advise what version (including build number/service packs) of MS Publisher you are using?
by Corwin - Tracker Sup
Fri Jul 30, 2010 11:54 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Issue with PXCp_AddWatermark
Replies: 7
Views: 2687

Re: Issue with PXCp_AddWatermark

Hi Carterdawson, After calling PXCpVB_WriteDocumentW function with PXCp_Write_Release flag, you will get released PDF document if function succeed, so subsequent call PXCp_Delete function for this document causing unpredictable problems. Correct behaviour is to check which error code returned PXCpVB...
by Corwin - Tracker Sup
Thu Jul 22, 2010 5:33 pm
Forum: PDF-XChange Drivers API SDK
Topic: Checking PDF drivers installed and are the correct version?
Replies: 5
Views: 2734

Re: Checking PDF drivers installed and are the correct version?

Hi Stef, On what exactly line of code you get access violation error? Also you are running your aplication in stand alone mode or in Debug mode under Delphi IDE? I have tried to catch COM exception (in Delphi 7) with code try PDFPFactory:=CoCPXCControlEx.create; except ShowMessage('PDF-XChange 4.0 S...
by Corwin - Tracker Sup
Thu Jul 22, 2010 11:55 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Modifying Width and Height of existing PDF
Replies: 9
Views: 3969

Re: Modifying Width and Height of existing PDF

Hello isaware, If you are adding a watermark without this flag, then the watermark will be placed on the document page relative to page rotation angle. In your document second page was rotated in 90 degrees, so visually top-left corner of page is situated in top-right corner then the text is rotated...
by Corwin - Tracker Sup
Wed Jul 21, 2010 12:34 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Modifying Width and Height of existing PDF
Replies: 9
Views: 3969

Re: Modifying Width and Height of existing PDF

Hi isaware,

Try to add this line to your code:
theWatermark.m_Align |= 0x40000000;

HTH.
by Corwin - Tracker Sup
Mon Jul 19, 2010 6:35 pm
Forum: Office2PDF & MS Office Addin
Topic: Create PDF file an EMail it (From:)
Replies: 3
Views: 2676

Re: Create PDF file an EMail it (From:)

Hi Martin,

I'm afraid that this is not possible :( It looks like some problem on the e-mail client side.
by Corwin - Tracker Sup
Thu Jul 08, 2010 11:01 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Bookmarks
Replies: 7
Views: 2816

Re: Bookmarks

Hi tdonovan,

As John has written before - the only way to do this, is to get Java Script text using low level API and then parse it.

Best regards
by Corwin - Tracker Sup
Wed Jul 07, 2010 11:47 am
Forum: PDF-XChange Viewer SDK
Topic: get encircled text contained under annotation rectangle ?
Replies: 6
Views: 2132

Re: get encircled text contained under annotation rectangle ?

Hello Miro,

I'm afraid that we don't have any samples of such kind.
However this can be done by using JS to get annotation coordinates and then get coordinates of text in PDF and try to find any intersections in this coordinates.

Best regards
by Corwin - Tracker Sup
Wed Jul 07, 2010 11:39 am
Forum: PDF-XChange Viewer SDK
Topic: clear highlighted text programmatically
Replies: 5
Views: 2018

Re: clear highlighted text programmatically

Hi Fabrizio, Your sample works fine for me. Please, install latest build of PDF-XChange Viewer SDK. Also please note, that it will be better to set spText variable right before its usage: AxCoPDFXCview1.DoVerb("Documents[0].Pages[0].Text", ".SP", Nothing, vDataOut, 0) spText = vD...
by Corwin - Tracker Sup
Tue Jul 06, 2010 6:18 pm
Forum: PDF-XChange Viewer SDK
Topic: clear highlighted text programmatically
Replies: 5
Views: 2018

Re: clear highlighted text programmatically

Hi Fabrizio,

I'm afraid that we cannot reproduce this problem.
Can you please send us sample project and PDF file, so we can test it here.

Thanks.