I am trying to apply a background image through xsl fo, it is not working, any input would be appreciated.
As you can see, it is not a problem finding the image, as it is able to be added as an external graphic.
TestBG.fo
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="only" page-height="11in" page-width="8.5in">
<fo:region-body />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence initial-page-number="1" master-reference="only">
<fo:flow flow-name="xsl-region-body">
<fo:block background-image="url('https://www.google.com/intl/en_com/images/srpr/logo3w.png')" border-color="#000000" border-width="2px" >
Bob Dole
</fo:block>
<fo:external-graphic src="url('https://www.google.com/intl/en_com/images/srpr/logo3w.png')" />
</fo:flow>
</fo:page-sequence>
</fo:root>
Main.vb:
Dim pdf As New Aspose.Pdf.Generator.Pdf()
pdf.BindFO("TestBG.fo")
pdf.Save("C:\Temp\test.pdf")
Attached is the generated pdf.