WinRT PDFViewCtrlTools custom appearance

46 views
Skip to first unread message

Alexander Zolotaryov

unread,
Apr 20, 2015, 2:36:22 PM4/20/15
to pdfne...@googlegroups.com
Hi there.
My name is Alexander and I develop an Windows 8.1 Store app, which is designed to create and edit PDF documents.
I have downloaded and examined the WinRT PDFViewCtrlTools sample. It works perfectly. But I can't find a style definitions for some controls on top of PDFViewCtrl, e.g. the control which is enabled when you click the Line annotation (there is two big dots and line between them, so I can drag that dots and the position of line will be changed). I want to change the appearance of that dots to mine. Where your Style-based design is located? Or how can I change that design?

Tomas Hofmann

unread,
Apr 21, 2015, 12:24:59 PM4/21/15
to PDFTron PDFNet SDK on behalf of Alexander Zolotaryov
Hi Alexander,

Unfortunately, the styles for the tools are spread out in the Tools source code. So, in this case, the style is actually in the AnnotEdit.cs file. mCtrlPointBorderBrush and mCtrlPointFillBrush, for example.
Every tool is created through the ToolManager, so if you keep an eye on which is the current tool, when you see something you want to re-shape, you can check which the current tool is and it will be either in there or in a subclass.

Please let us know if you have any other questions.

Best Regards,
Tomas Hofmann


--
You received this message because you are subscribed to the "PDFTron PDFNet SDK" group (http://www.pdftron.com/pdfnet/forum.html).
---
You received this message because you are subscribed to the Google Groups "PDFTron PDFNet SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfnet-sdk+...@googlegroups.com.
To post to this group, send email to pdfne...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages