I can of course get this information from a document that I create myself, but our viewer is intended mainly for users to operate on documents that are supplied from another source.
Thanks anyway.
Ben Dilts
Search found 33 matches
- Mon Mar 27 2006
- Forum: C/C++/C# Community
- Topic: Duplicating bookmark?
- Replies: 4
- Views: 11850
- Wed Mar 22 2006
- Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
- Topic: 2.0g: Deleting page breaks Save function
- Replies: 3
- Views: 8895
We are developing a PDF viewer/editor for paperless office use. Typical usage scenarios for our application include: Viewing/printing/faxing/emailing PDF's. Rearranging/deleting pages in PDF's before sending them out. Assembling new PDF's with pages taken arbitrarily from other PDF's. Adding light m...
- Tue Mar 21 2006
- Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
- Topic: 2.0g: Deleting page breaks Save function
- Replies: 3
- Views: 8895
2.0g: Deleting page breaks Save function
Well, to go along with my earlier post about renaming bookmarks breaking the Save functionality of the PDF Creator, deleting a page from a document does the same thing. The following code causes the PDF Viewer ActiveX control to hang: PDF.Open("D:\\My Documents\\Visual Studio Projects\\PDF\\PDF...
- Tue Mar 21 2006
- Forum: C/C++/C# Community
- Topic: Duplicating bookmark?
- Replies: 4
- Views: 11850
I am not trying to create a bookmark to point at some known object! I have a bookmark, and I want to know what object it points at. Failing that, I want to know what page it is on. For instance, if I open the developer manual for the PDF Creator in Adobe Acrobat and click on the second bookmark (&qu...
- Mon Mar 20 2006
- Forum: C/C++/C# Community
- Topic: Creating highlight programmatically
- Replies: 1
- Views: 12394
Creating highlight programmatically
As per the documentation, I tried doing the following: PDF.put_ReportState(CPDFCreactiveX::acReportStateDesign); PDF.CreateObject(CPDFCreactiveX::acObjectTypeHighlight, "HighlighterTest1"); PDF.put_ObjectAttribute("HighlighterTest1", "Left", COleVariant(200L)); PDF.put_...
- Thu Mar 16 2006
- Forum: C/C++/C# Community
- Topic: Duplicating bookmark?
- Replies: 4
- Views: 11850
Duplicating bookmark?
Is there any way to duplicate a bookmark? I tried with the following code: CString csTitle = bMove.get_Title(); CString csObject = bMove.get_Object(); LPDISPATCH lpNew = NULL; int iPlace = bNewParent.get_Count(); bNewParent.InsertChild(iPlace, csTitle, csObject, &lpNew); CacBookmark bNew = lpNew...
- Tue Mar 07 2006
- Forum: C/C++/C# Community
- Topic: Get required size of text object from font
- Replies: 1
- Views: 7158
Get required size of text object from font
Is there a way to get the minimum required height (in page units, twips I think) for a Text object, given a font?
- Tue Mar 07 2006
- Forum: C/C++/C# Community
- Topic: Detect when user stops using a tool?
- Replies: 3
- Views: 9390
- Tue Mar 07 2006
- Forum: Amyuni PDF Creator .NET (PDF Viewer / Editor)
- Topic: Programatically check box
- Replies: 1
- Views: 6411
Value property
Set the Value property on the object to 1 or 0:
PDF.put_ObjectAttribute("CheckBoxObject1", "Value", COleVariant(CString("1")));
Ben Dilts
PDF.put_ObjectAttribute("CheckBoxObject1", "Value", COleVariant(CString("1")));
Ben Dilts
- Tue Mar 07 2006
- Forum: C/C++/C# Community
- Topic: Transparent bitmaps
- Replies: 1
- Views: 7449
If you only need one color transparent:
If you only need to have one color transparent (have all the black on your image be transparent instead), you can set the RGBMask property of the image. I create such an image in code like this: //Create the object CString csName = GetNextTickMarkName(); pView->PDF.CreateObject(CPDFCreactiveX::acObj...
- Mon Mar 06 2006
- Forum: Wish List
- Topic: Undo events
- Replies: 0
- Views: 11175
Undo events
I'd like new events for when undo levels are created or destroyed. Our application performs several operations which should be able to be undone (such as rearranging pages in a document), but which the PDFCreactiveX control doesn't support Undo for. If I received an event notification from the contr...
- Mon Mar 06 2006
- Forum: C/C++/C# Community
- Topic: Detect when user stops using a tool?
- Replies: 3
- Views: 9390
Detect when user stops using a tool?
Is there a way to detect when a user stops using a specific tool? For instance, our application automatically enters annotation mode when the user clicks on our "highlighter" toolbar button. We would like to return to Run mode when they finish using the tool. They can do this either throug...
- Tue Feb 28 2006
- Forum: Wish List
- Topic: Rearrange bookmarks
- Replies: 0
- Views: 12847
Rearrange bookmarks
It would be very useful to have a way to rearrange the bookmarks in a document. An option to change their order as well as assign them to new parents programmatically.
- Tue Feb 28 2006
- Forum: Amyuni PDF Creator ActiveX (PDF Viewer / Editor)
- Topic: 2.0g: Renaming bookmark breaks Save function.
- Replies: 1
- Views: 5604
2.0g: Renaming bookmark breaks Save function.
In the PDFCreactiveDoc PDF viewer, renaming bookmarks breaks the Save and Save As functionality. I use PDFCreactiveDoc to open the included user manual, rename a bookmark, and try to save. The application hangs with 100% processor usage.
I'm using version 2.0g.
Ben Dilts
I'm using version 2.0g.
Ben Dilts
- Wed Feb 22 2006
- Forum: Wish List
- Topic: PDF Creator - 2 Enhancements
- Replies: 1
- Views: 13190
ScaleToWindow
The ScaleToWindow property on the PDF control gives you the option of automatically zooming to page width, height, or both. As for saving the zoom settings, I wound up doing that myself in the registry (saving both ZoomFactor and ScaleToWindow).