Search found 39 matches

by mbz
Tue Jul 25, 2017 12:46 pm
Forum: PDF-XChange Editor SDK
Topic: Export specific of PDF page to Images
Replies: 8
Views: 874

Re: Export specific of PDF page to Images

Hi Alex, thank you for your reply. However, I don't get the rect of the page exported, i'd selected. In my case, the user has to select a rect of the pdf page (like snipping tool). After that, I calculate that selected rectangle with IPXV_PagesLayoutManager.DeviceRectToPageRect to the specified PXC_...
by mbz
Fri Jul 21, 2017 8:42 am
Forum: PDF-XChange Editor SDK
Topic: Export specific of PDF page to Images
Replies: 8
Views: 874

Re: Export specific of PDF page to Images

Hi Alex, thank you for your reply. Im implementing the usage of DrawToIXCPage. But I cannot find any equivalent of PXC::FP_ID_XDPI in C# so I can't get the right ID to set the FmtInt of IIXC_Page. I'm unable to find any C# version of that Property. So how shall I set the value of e.g. XDPI? Thanks mbz
by mbz
Wed Jul 19, 2017 11:48 am
Forum: PDF-XChange Editor SDK
Topic: Export specific of PDF page to Images
Replies: 8
Views: 874

Re: Export specific of PDF page to Images

Hi Alex,
thanks for your fast replay. Unfortunately I cannot find any help in this forum for cropping pages in that way you suggested.
May you post a short example?
by mbz
Wed Jul 19, 2017 10:15 am
Forum: PDF-XChange Editor SDK
Topic: Export specific of PDF page to Images
Replies: 8
Views: 874

Export specific of PDF page to Images

Hi guys, I need to export a specific rect of a pdf page to images. First I thought, I'm just setting my custom rect to FormatParams[CustomRect].v But if I try to export then, I'm getting the following exception: Wrong Parameter So, what type of rect is expected? Can one export a specific rect of pdf...
by mbz
Wed Jul 12, 2017 1:32 pm
Forum: PDF-XChange Editor SDK
Topic: How to prevent opening destination folder after export
Replies: 3
Views: 549

Re: How to prevent opening destination folder after export

Hi Alex,
thank you for your fast reply!
Actually I searched your wiki but didn't find that - my fault for sure. Well, thank you for your help and sorry for my bad search!

Cheers,
mbz
by mbz
Wed Jul 12, 2017 9:14 am
Forum: PDF-XChange Editor SDK
Topic: How to prevent opening destination folder after export
Replies: 3
Views: 549

How to prevent opening destination folder after export

Hi guys! I'm exporting pdf pages into BMP-files. After the export is done, the destination folder pops up. I'd like to prevent that behavior after export. The following code snippet is for my export: var cmdId = inst.Str2ID("op.document.exportToImages", false); IOperation op = inst.CreateOp(cmdId); ...
by mbz
Tue Jul 11, 2017 11:30 am
Forum: PDF-XChange Editor SDK
Topic: Set permission of PXC_RequestOper.Perm_OperExport to PXC_PermStatus.Perm
Replies: 3
Views: 575

Re: Set permission of PXC_RequestOper.Perm_OperExport to PXC_PermStatus.Perm

Hi Alex,
thank you for your reply! So, export is only denied, when the owner of the pdf has set a password?

Cheers,
mbz
by mbz
Mon Jul 10, 2017 7:44 am
Forum: PDF-XChange Editor SDK
Topic: Set permission of PXC_RequestOper.Perm_OperExport to PXC_PermStatus.Perm
Replies: 3
Views: 575

Set permission of PXC_RequestOper.Perm_OperExport to PXC_PermStatus.Perm

Hi guys, I've found that kind of questen in this post . Unfortunately I didn't find an answer, yet. Maybe you can help me. All I need to do is to check if the opened doc hased granted export. If not, I need to set them. So when I request the permission for Export the following statement should be tr...
by mbz
Mon Jan 30, 2017 4:52 pm
Forum: PDF-XChange Editor SDK
Topic: How can I add sticky notes?
Replies: 4
Views: 814

Re: How can I add sticky notes?

Hi Sasha, Thanks for your reply. This works for me so far. But if I set IPXC_AnnotData_Text.Opened to true, the sticky note isn't opened so I can't see the conent. My implementation: var pSInt = (IPXS_Inst) Inst.GetExtension("PXS"); var textAtomId = pSInt.StrToAtom("Text"); var pPage = Doc.CoreDoc.P...
by mbz
Mon Jan 30, 2017 2:08 pm
Forum: PDF-XChange Editor SDK
Topic: How can I add sticky notes?
Replies: 4
Views: 814

How can I add sticky notes?

Is it possible to add sticky notes programmatically to the loaded PDF?
If yes, could you post an example?

Cheers,
mbz
by mbz
Tue Oct 25, 2016 8:26 am
Forum: PDF-XChange Editor SDK
Topic: CusrorNames
Replies: 5
Views: 904

Re: CusrorNames

Hi Stefan,
that makes it more clear!
Thank you!

Cheers,
mbz
by mbz
Fri Oct 21, 2016 3:45 pm
Forum: PDF-XChange Editor SDK
Topic: CusrorNames
Replies: 5
Views: 904

Re: CusrorNames

Hi Alex,

That's perfect! Thank you!
:mrgreen: :mrgreen:

Cheers,
mbz
by mbz
Thu Oct 20, 2016 3:48 pm
Forum: PDF-XChange Editor SDK
Topic: CusrorNames
Replies: 5
Views: 904

CusrorNames

Hey guys,

is there any list with all cursor names, so I can get the cusorId with uiInst.GetCursorID("MissingCursorNames") to set the specific cursor?

Thanks
mbz
by mbz
Fri Sep 16, 2016 6:51 am
Forum: PDF-XChange Editor SDK
Topic: additional explanation custom event handler
Replies: 7
Views: 1558

Re: additional explanation custom event handler

Hi Alex, Unfortunately that doesn't effect anything. Well, there is a subsecond cross everytime the mouse is moved, for sure. But I need that cross until e.g. tool.hand is selected. Something like: public void OnNotify(int nCode, IUIX_Cmd pCmd, IUIX_CmdItem pItem, IUIX_Obj pOwner, uint nNotifyData) ...
by mbz
Tue Sep 13, 2016 3:18 pm
Forum: PDF-XChange Editor SDK
Topic: additional explanation custom event handler
Replies: 7
Views: 1558

Re: additional explanation custom event handler

Hi folks, For me "SetCursor" doesn't work. I'm trying to set the cursor like in Alex' expample. Nothing changes. It doesn't work in my IUIX_ObjImpl. Is there something I should pay attention to? All I do is just: public void OnEvent(IUIX_Obj pSender, IUIX_Event pEvent) { _uiInst.SetCursor(_uiInst.Ge...
by mbz
Tue Sep 13, 2016 10:27 am
Forum: PDF-XChange Editor SDK
Topic: The cmd.tool.hand-icon stays highlighted/activated SOLVED
Replies: 10
Views: 2223

Re: The cmd.tool.hand-icon stays highlighted/activated SOLVED

Hi Vasyl,
thank your for your reply!

That worked for me!

Thank you,
mbz
by mbz
Wed Aug 31, 2016 11:54 am
Forum: PDF-XChange Editor SDK
Topic: The cmd.tool.hand-icon stays highlighted/activated SOLVED
Replies: 10
Views: 2223

Re: The cmd.tool.hand-icon stays highlighted/activated SOLVED

Hi Alex, Well, the pItem.Redraw() doesn't raise OnGetItemState neither. Maybe you can show me how it is done in your code. It shouldn't be such a big problem to change the item state to inform the user, which tool is activated right now. If switching between Hand Tool and Select Text is working fine...
by mbz
Mon Aug 29, 2016 7:01 am
Forum: PDF-XChange Editor SDK
Topic: The cmd.tool.hand-icon stays highlighted/activated SOLVED
Replies: 10
Views: 2223

Re: The cmd.tool.hand-icon stays highlighted/activated SOLVED

Hi Alex,

Well, I did understand that. The problem is, OnGetItemState is only called, when the cmdbar is drawn. Never after the OnNotify was raised.
So, maybe you can tell me when this method is called.

Thanks,
mbz
by mbz
Fri Aug 26, 2016 2:30 pm
Forum: PDF-XChange Editor SDK
Topic: The cmd.tool.hand-icon stays highlighted/activated SOLVED
Replies: 10
Views: 2223

Re: The cmd.tool.hand-icon stays highlighted/activated SOLVED

Hi Alex, Thank you for your reply. Unfortunately that solution doesn't work for me. I need to change the CmdItem.State in OnNotify (when my button is pressed). Something like that: public void OnNotify(int nCode, IUIX_Cmd pCmd, IUIX_CmdItem pItem, IUIX_Obj pOwner, uint nNotifyData) { var handCmdId =...
by mbz
Fri Aug 26, 2016 9:56 am
Forum: PDF-XChange Editor SDK
Topic: The cmd.tool.hand-icon stays highlighted/activated SOLVED
Replies: 10
Views: 2223

The cmd.tool.hand-icon stays highlighted/activated SOLVED

Hey guys! I've inserted an custom command with an icon to the cmdbar.standard. I'd like to get the behavior like the cmd.tool.hand. I mean, I'd like to switch between the cmd.tool.hand and my cmd.tool.myCustom. The problem is, it does not switch. The cmd.tool.hand-icon stays highlighted/activated. I...
by mbz
Tue Aug 16, 2016 12:36 pm
Forum: PDF-XChange Editor SDK
Topic: SubMenu.Item does not exist
Replies: 5
Views: 934

Re: SubMenu.Item does not exist

Hi Alex,

Thank you for your help :wink:

Cheers,
mbz
by mbz
Tue Aug 16, 2016 12:28 pm
Forum: PDF-XChange Editor SDK
Topic: SubMenu.Item does not exist
Replies: 5
Views: 934

Re: SubMenu.Item does not exist

Hi Alex,
Thank you very much! It does work for me.
But can you tell me what's about SubMenu.Item? Doesn't that property exist anymore?

Cheers,
mbz
by mbz
Tue Aug 16, 2016 10:26 am
Forum: PDF-XChange Editor SDK
Topic: SubMenu.Item does not exist
Replies: 5
Views: 934

SubMenu.Item does not exist

Hi folks, I'm trying to add my own CmdBarItem with a submenu. As I've read in this post http://www.tracker-software.com/forum3/viewtopic.php?p=99227#p99227 , I only need to find the MenuBarItem containing the submenu with that item I'd like to add a submenu to. This is how it looks like right now: h...
by mbz
Tue Aug 16, 2016 7:11 am
Forum: PDF-XChange Editor SDK
Topic: Get Visible Rect
Replies: 10
Views: 1483

Re: Get Visible Rect

Hi Alex,
Thank you for your reply! It does word for me now :mrgreen:

Thanks,
mbz
by mbz
Mon Aug 15, 2016 3:55 pm
Forum: PDF-XChange Editor SDK
Topic: Get Visible Rect
Replies: 10
Views: 1483

Re: Get Visible Rect

Hi Alex,

Unfortunately I didn't miss anything. I think I can solve my problem, if I had the size (height) of the visible panes. But I just can't get them. I don't find any post about getting the panes' sizes neither.

Thanks,
mbz
by mbz
Fri Aug 12, 2016 9:32 am
Forum: PDF-XChange Editor SDK
Topic: Get Visible Rect
Replies: 10
Views: 1483

Re: Get Visible Rect

Hi Alex, Thank you for your help. Unfortunately it's not the solution for me. In my code I'm saving the page rect into an object, which is saved in a database. This is my own "annotation". The problem right now is, that the point is calculated wrong when VisibleCmdPanes = (uint) PXV_VisibleCmdPanes....
by mbz
Wed Aug 10, 2016 12:39 pm
Forum: PDF-XChange Editor SDK
Topic: Get Visible Rect
Replies: 10
Views: 1483

Re: Get Visible Rect

Hi Alex,

Sorry! Well, I need the screen-relative coordinates.

Thanks,
mbz
by mbz
Wed Aug 10, 2016 10:05 am
Forum: PDF-XChange Editor SDK
Topic: Get Visible Rect
Replies: 10
Views: 1483

Get Visible Rect

Hey guys!

How can I get the "visible rect". I mean the rect of the AxPXV_Control without the cmd panes?
I bet the solution is very simple. But I cannot find any. Maybe you guys can help me.

Thanks,
mbz
by mbz
Fri Jul 22, 2016 7:32 am
Forum: PDF-XChange Editor SDK
Topic: Invalidate Background
Replies: 8
Views: 1626

Re: Invalidate Background

Hi Alex! Well, I need to provide the possibility to comment a point on the pdf without annotate the pdf itself, but save the "comment" in a database. To make that possible - and give the user the illusion that the comment is on the pdf - I'm drawing the comment (at the moment it's only the line) on ...
by mbz
Thu Jul 21, 2016 2:48 pm
Forum: PDF-XChange Editor SDK
Topic: Invalidate Background
Replies: 8
Views: 1626

Re: Invalidate Background

Hi Alex!
Thanks for your reply!

The Problem is, I need to redraw the entire control because I'm drawing next to the pages into the gray area. Unfortunately updating the IPXV_PagesView does not include that area.

Regards,
mbz
by mbz
Thu Jul 21, 2016 2:01 pm
Forum: PDF-XChange Editor SDK
Topic: Invalidate Background
Replies: 8
Views: 1626

Re: Invalidate Background

Hello mbz, Just wanted to reply with that answer. Glad you solved your problem. =) Cheers, Alex Thank you for your effort! =) Even though there seems to be a problem. If I do the AxPXV_Control.Refresh() the pdf pages are drawn pretty buggy: http://i.epvpimg.com/X75Kg.png Maybe you know why? If I re...
by mbz
Thu Jul 21, 2016 1:09 pm
Forum: PDF-XChange Editor SDK
Topic: Invalidate Background
Replies: 8
Views: 1626

Re: Invalidate Background

Hey guys. For my project, I need to invalidate not only the pages but also the gray "background" of the AxPXV_Control. Is there any way to get this done? I can't find any solution. Regards, mbz Ok. Sorry for that post. AxPXV_Control.Refresh is working fine now. The problem has been on my site. You ...
by mbz
Thu Jul 21, 2016 12:58 pm
Forum: PDF-XChange Editor SDK
Topic: Invalidate Background
Replies: 8
Views: 1626

Invalidate Background

Hey guys.
For my project, I need to invalidate not only the pages but also the gray "background" of the AxPXV_Control. Is there any way to get this done? I can't find any solution.

Regards,
mbz
by mbz
Mon Jul 18, 2016 2:25 pm
Forum: PDF-XChange Editor SDK
Topic: How to get Scroll Offset
Replies: 4
Views: 696

Re: How to get Scroll Offset

Hi Stefan and Alex!
Thank you for your fast reply!
The ScrollDelta did it!

Regards
mbz
by mbz
Mon Jul 18, 2016 2:04 pm
Forum: PDF-XChange Editor SDK
Topic: How to get Scroll Offset
Replies: 4
Views: 696

How to get Scroll Offset

Hi guys! I have a control which derives from PDFXEdit.IEventHandler and registered the "e.pagesView.layoutChanged"-event with RegisterNativeEvent to it. Now my question: Do you know how to get the scroll chnaged value - or the offset value - after the event was fired and OnEvent executed? Regards, mbz
by mbz
Fri Jul 15, 2016 2:05 pm
Forum: PDF-XChange Editor SDK
Topic: Line Annotation is always in the bottom left corner
Replies: 7
Views: 1415

Re: Line Annotation is always in the bottom left corner

Hi Vasyl.
Thank you for your great reply!
Unfortunately it doesn't work. Somehow no line is drawn. But I'll debug and find the mistake. I'm pretty shure, that there is just a little bug in my code.

Thank you!

Regards,
mbz
by mbz
Thu Jul 14, 2016 11:54 am
Forum: PDF-XChange Editor SDK
Topic: Line Annotation is always in the bottom left corner
Replies: 7
Views: 1415

Re: Line Annotation is always in the bottom left corner

Hi Stefan,

Well, if you could tell me, how I can draw the end of the line outside of the page as shown in the picture, I'll be glad :)

Regards,
mbz
by mbz
Thu Jul 14, 2016 8:31 am
Forum: PDF-XChange Editor SDK
Topic: Line Annotation is always in the bottom left corner
Replies: 7
Views: 1415

Re: Line Annotation is always in the bottom left corner

Hi Vasyl.

Thank you so much for your fast reply. I got a better knowledge about the functionality of the SDK now.
I only need to draw the line to the right edge of the PdfViewerControl and thats it :)

Thank you for your hlep.

Regards,
mbz
by mbz
Wed Jul 13, 2016 3:23 pm
Forum: PDF-XChange Editor SDK
Topic: Line Annotation is always in the bottom left corner
Replies: 7
Views: 1415

Line Annotation is always in the bottom left corner

Hi I have a problem inserting a line annotation. When the pdf viewer is clicked the following gets executed: public void OnEvent(IUIX_Obj pSender, IUIX_Event pEvent) { pEvent.Handled = false; if (pEvent.Code == 0x0201) // WM_LBUTTONDOWN { tagPOINT screenPoint = pEvent.get_Pos(); //tagPOINT clientPoi...