0

Wanted to set background image of TableCell in

<TableCell ColumnSpan="1" Background="{$Sign}">
    <Paragraph >
        <Figure HorizontalOffset="0" VerticalOffset="0" >
            <BlockUIContainer>
                <Image Source="{$tickmark}"></Image>
            </BlockUIContainer>
        </Figure>
    </Paragraph>
</TableCell>

When I try to parse it an exception occurs

XAMParserException:- failure to create background from text "C:\Users\Home\abcd.png"

{$Sign} is a variable defined at top of xslt which contains the path.

I've also tried writing the complete path rather than writing {$Sign}.

Kindly help. Please explain how to set background image of a cell in flowdocument.

Tanul
  • 354
  • 4
  • 20

0 Answers0