Stroke Text Dynamically within Block Paragraph

Modified on Wed, Feb 14, 2018 at 3:51 PM

By Default within the PDF Lib blocks wizard the Textrendering is set to "fill text (normal text) 0".

So by default if you want to add color to text you only set the fillcolor.



If you want to add a stroke colol you need to change the textrendering to fill and stroke or just stroke depending on what you want.

If you want to set the stroke dynamically within a paragraph so only some blocks getthe stroke you can do this within the paragraph:

{Name}<textrendering=2 strokecolor={cmyk 1 1 0 0}>{Title}<textrendering=0 fillcolor={cmyk 1 1 0 0}>{Address}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article