WebPage to DynaPDF Example

Hi!

I’m considering in buy the MBS DynaPDF plugin to export a webpage. On this page will have a TITLE, a LOGO, a weblistbox with contents.

And i want to write a company name diagonally as an watermark. (like the demo plugin prints the dynapdf 3.0 watermark)

Does anyone have a simple example of code with all this components?

Thank you all for helping!

Alex

Did you download plugin and examples?

See example project “Create PDF with demo string.rbp”

@Christian Schmitz, yes, i downloaded the plugin and examples.
And yes, i saw the example.

i need an example with title, image and a weblistbox…

i never, ever, did any “webpage” to “dynapdf”

and unfortunately, i don’t have enough time to read all documentation.
I really need something “easy”, so i can understand and implement as fast as i can!

Alex

you may want to read through a few examples to learn how things work.

there is no example which turns a layout to PDF, I think.
But you can use a few text write commands and InsertImage commands for pictures.

@Christian Schmitz that’s what i need a “simple” example so i can learn quickly and do what i need a.s.a.p.

Alex

maybe you look into the examples coming with DynaPDF?

Hi @Christian Schmitz

I did look at some examples with only texts, only images and “water mark”

I’m almost there to do what i need.

Christian (can call you Chris?), why on your “Create PDF with demo string” example, when i uncomment the “call pdf.SetPageCoords pdf.kpcTopDown” line, the “My Demo String” Flips?

Is there a way to se the pageCoords to TopDown and do not flip the “my demo string”

Best regards,

Alex

By the way, on both cases the DynapdfMatrixMBS values are the same…

commented setpagecoords topdown line
A: 0.577102
B: 0.8166721
C: -0.8166721
D: 0.577102
X: 277.0504
Y: 327.6229

uncommented setpagecoords topdown line
A: 0.577102
B: 0.8166721
C: -0.8166721
D: 0.577102
X: 277.0504
Y: 327.6229

the right coordinate system in PDF is bottom up.
DynaPDF offers a top down for people who prefer that.
Than internally coordinates are swapped for each call.
In the final PDF you only have bottom up coordinates.

You can change pdf.SetPageCoords with from one mode to other whenever you need.