Why can't i use another pdf ?
When i change the pdf with form fields it is giving an error when i want to write to it.
The pdf is named Boord
The error is
Message=Value cannot be null.
Parameter name: file
We suspect that the issue occurs due to loading of PDF in incorrect format. While loading the PDF as stream, it should be in Assets folder and be set as “Embedded Resources”.
Please try the below solution to overcome this issue.
Right click on the PDF file in Assets folder > Properties > Set Embedded Resources for Build Action.
Please try the above solution in your end and let us know the result.
<Button x:Name="Bekijken" Text="Generate Document" Clicked="OnButtonClicked" VerticalOptions="Center" HorizontalOptions="Center"/>
<Entry x:Name="Plaats" AbsoluteLayout.LayoutBounds=".100,.49,.35,.08" AbsoluteLayout.LayoutFlags="All" Placeholder="" Text=""/>