Thank you. I was using the Url property to set the location of the image rather than the File property.
- What is the purpose of the Url property?
- If the File property is required, why is this not enforced in your schema?
Please note also the following error. In this XML, if the comment tags are removed, a timeout exception always occurs.
<?
xml version="1.0" encoding="utf-8"?>
<
Pdf xmlns="Aspose.Pdf"
Author="Joe Bloggs" Creator="Aspose.Pdf" Keywords="Test"
Title="Doc Title" Subject="Doc Subject">
<
Section PageWidth="595" PageMarginLeft="10" PageMarginRight="10" PageMarginTop="10" PageMarginBottom="10">
<
Header Alignment="Left">
<
Text>
<
Segment>Header</Segment>
</
Text>
<
Image File="http://newsimg.bbc.co.uk/media/images/41117000/jpg/_41117127_ele_ap_i203.jpg" Type="Jpeg">
<
Title>JPEG image</Title>
</
Image>
</
Header>
<!--
<Image File="http://newsimg.bbc.co.uk/media/images/41117000/jpg/_41117127_ele_ap_i203.jpg" Type="Jpeg">
<Title>JPEG image</Title>
</Image>
-->
<
Table Alignment="Left" ColumnAdjustment="AutoFitToContent">
<
Border>
<
All LineWidth="1" Color="Blue" />
</
Border>
<
Row BackgroundColor="Blue">
<
Cell>
<
Text Color="White">
<
Segment>Code</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text Color="White">
<
Segment>Description</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text Color="White">
<
Segment>Sale Date</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text Color="White">
<
Segment>Location</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text Color="White">
<
Segment>Lot</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text Color="White">
<
Segment>Reg. Date</Segment>
</
Text>
</
Cell>
</
Row>
<
Row>
<
Cell>
<
Text>
<
Segment>994131Y</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text>
<
Segment>Now is the winter of our discontent made glorious summer by this sun of York. To be or not to be, that is the question. Whether 'tis etc.</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text>
<
Segment>19-03-2008</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text>
<
Segment>Clapham Junction</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text>
<
Segment>LDV153</Segment>
</
Text>
</
Cell>
<
Cell>
<
Text>
<
Segment>23-09-2002</Segment>
</
Text>
</
Cell>
</
Row>
</
Table>
</
Section>
</
Pdf>