• Hello, i test wpviewPDF i have dudes:

    - Can Use with WPF (VIsual Studio 2017)

    -The licence single developer is Royalty free?

    -How can change annotation Font (size and style)?

    Thanks

    2 Mal editiert, zuletzt von giorojas (29. Mai 2018 um 20:17) aus folgendem Grund: edit question

    • Offizieller Beitrag

    Sorry, you cannot use WPViewPDF in WPF, only in WinForms.

    License is in royalty free.

    Annotations can be changed by direct access to the PDF objects.

    This works by reading the XML used internally for the annotation, change certain properties and write it back.

    A free text can use XML like this:

    Code
    ?xml version="1.0" encoding="utf-8"?>
    <neutral value="###"></neutral>
    <annot X="283.07" Y="44.43" W="141.99" H="60.92" prp.n.Subtype="FreeText" Font="Arial" Font-Size="0" _mult="3.28" prp.s.Contents="avyxcvxc"></annot>

    The demo uses this code to show an editor and writes back the XML