PDF for WinRT > Getting Started with WinRT Edition > PDF for WinRT Quick Start > Step 1 of 4: Creating an Application with C1PdfDocument Object |
In this step, you'll create a Windows Store application and add a C1PdfDocument object.
XAML Copy Code <Page.Resources> <Style TargetType="PdfViewer:C1PdfViewer"> <Setter Property="Background" Value="Gray" /> <Setter Property="BorderThickness" Value="0" /> </Style> </Page.Resources>
XAML Copy Code <PdfViewer:C1PdfViewer Name="c1PdfViewer1" Grid.Row="1"/>
XAML Copy Code <ProgressRing x:Name="progressRing" Grid.Row="1"/> <Button x:Name="btnSave" Content="Save PDF" Click="btnSave_Click" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0 0 0 10" Height="40" Width="106"/>
In this step, you created a Windows Store application, added references, and added control to the application. In the next step, you'll add code to your application to create your PDF document.