Pencil Shape

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

oskpm
User
Posts: 41
Joined: Tue Aug 31, 2010 8:44 am

Pencil Shape

Post by oskpm »

Hi,

I'm using the pencil to draw a freehand shape into the pdf. This works great.
I noticed that the shapes get grouped if they are drawn shortly after each other (about < 500ms)
If the time is greater than (estimated) 500ms, theres only one object for each shape.
Can I change this behavior, so that there is always one single object per shape?

Many thanks.
Peter
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19870
Joined: Mon Jan 12, 2009 8:07 am

Re: Pencil Shape

Post by Stefan - PDF-XChange »

Hi Peter,

No I am afraid there's no way to alter this option currently.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: Pencil Shape

Post by Vasyl - PDF-XChange »

Try it:

Code: Select all

int tmInterval = 0; // to make NEW object each time
pdfViewer.SetProperty("Tools.Pencil.TimeForNewObject", tmInterval, 0);
HTH
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
oskpm
User
Posts: 41
Joined: Tue Aug 31, 2010 8:44 am

Re: Pencil Shape

Post by oskpm »

It works. Great! :D

Thanks a lot.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19870
Joined: Mon Jan 12, 2009 8:07 am

Re: Pencil Shape

Post by Stefan - PDF-XChange »

:)
kindlychung
User
Posts: 1
Joined: Mon Mar 25, 2013 4:28 pm

Re: Pencil Shape

Post by kindlychung »

Vasyl-Tracker Dev Team wrote:Try it:

Code: Select all

int tmInterval = 0; // to make NEW object each time
pdfViewer.SetProperty("Tools.Pencil.TimeForNewObject", tmInterval, 0);
HTH

Which file should I modified?
Thanks!
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19870
Joined: Mon Jan 12, 2009 8:07 am

Re: Pencil Shape

Post by Stefan - PDF-XChange »

Hello kindlychung,

This is a developers topic, and those modifications need to be done in code.

Best,
Stefan