Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 246
Registered: ‎05-01-2016

custom xaml printing to pdf with sdk

I am producing this pdf print file using the SDK and xaml template file.  I have added lines to the template file to display the table of parcel owner info.

Is there any possible way i can dynamically generate that section?  I can construct a file with the xaml code needed which looks like this

 <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,6.4cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Parcel ID: 22-100-232-00"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,6.8cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Calculated Acreage: 13"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,7.2cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Owner Name: VASY RICHARD L "/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,7.6cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Mailing Address: 1224 GOLDENEYE CT "/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,8.cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Site Address: 122 N Bench St, Galena IL"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,8.4cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Legal Description: W SIDE BENCH STREET PT LOT 48 "/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,8.8cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Tax Code: 22003 "/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,9.2cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Property Class: 0040 "/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,9.6cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Total Acres: 50 x 109"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,10cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Farmland Assessed Value: 0"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,10.4cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Farmland Buildings Assessed Value; 0"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,10.8cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Non Farmland Assessed Value: 2095"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,11.2cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Non Farm Buildings Assessed Value:  50516"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,11.6cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Total Assessment:  52611"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,12.0cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Alternate Owner Name 1: Wimbush Barbara G"/>
      <TextBlock Grid.ColumnSpan="2" Margin="0.3cm,12.4cm,0.1cm,0.1cm" Grid.Column="4" Grid.Row="2" FontSize="6pt" Text="Alternate Mailing Address 1: 1224 Goldeneye CT "/>
Polls
Please register to vote
Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.