Saving a wpf layout to pdf using pdfsharp, c#
问题 I'm new to c#, wpf and the pdfsharp library. This is my XAML Code: <Grid> <zoom:ZoomControl> <graphsharp:GraphLayout x:Name="graphLayout" Graph="{Binding ElementName=root, Path=GraphToVisualize}" LayoutAlgorithmType="FR" OverlapRemovalAlgorithmType="FSA" HighlightAlgorithmType="Simple"></graphsharp:GraphLayout> </zoom:ZoomControl> <Button Content="Button" Height="23" Name="button1" Width="75" Margin="12,294,658,412" Click="button1_Click" /> </Grid> I want now save my "graphLayout" to a pdf