Skip to main content

How can I write attribute MSG to a PDF as text

ID MSG1inside the polygon2outside the area3close to the event area4comment

You need to first add the output coordinates of the text, then apply PDFStyler to determine the color of the text (if you need), and finally PDF output to PDF Writer.


how the position of th text is defined on the pdf


You need to first add the output coordinates of the text, then apply PDFStyler to determine the color of the text (if you need), and finally PDF output to PDF Writer.

how the position of th text is defined on the pdf

 

 


how the position of th text is defined on the pdf

 

 

The VertexCreator makes fake geometry to attach the text to. You could add a PDFPageFormatter right before the writer to determine where the text ends up on the page.

 

 


You need to first add the output coordinates of the text, then apply PDFStyler to determine the color of the text (if you need), and finally PDF output to PDF Writer.

I get an error message ( invalid geometry ) just after the vertex transformer, is there any reason?

 

 


use "replace" as parameter on the vertexcreator (not "add")


Reply