Skip to content

Commit 4590f9c

Browse files
committed
Committing the sample with new name
1 parent 5fd1c62 commit 4590f9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+214
-207
lines changed

CreatePDF/CreatePDF.sln

Lines changed: 0 additions & 25 deletions
This file was deleted.

CreatePDF/MauiProgram.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

CreatePDF/Platforms/Android/MainActivity.cs

Lines changed: 0 additions & 11 deletions
This file was deleted.

CreatePDF/Platforms/Android/MainApplication.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

CreatePDF/Platforms/MacCatalyst/AppDelegate.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

CreatePDF/Platforms/MacCatalyst/Program.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

CreatePDF/Platforms/Tizen/Main.cs

Lines changed: 0 additions & 17 deletions
This file was deleted.

CreatePDF/Platforms/Windows/App.xaml.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

CreatePDF/Platforms/iOS/AppDelegate.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

CreatePDF/Platforms/iOS/Program.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

CreatePDF/App.xaml renamed to CreatePDFAndView/App.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version = "1.0" encoding = "UTF-8" ?>
22
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4-
xmlns:local="clr-namespace:CreatePDF"
5-
x:Class="CreatePDF.App">
4+
xmlns:local="clr-namespace:CreatePDFAndView"
5+
x:Class="CreatePDFAndView.App">
66
<Application.Resources>
77
<ResourceDictionary>
88
<ResourceDictionary.MergedDictionaries>

CreatePDF/App.xaml.cs renamed to CreatePDFAndView/App.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
namespace CreatePDF
1+
namespace CreatePDFAndView
22
{
33
public partial class App : Application
44
{
55
public App()
66
{
77
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Add license key");
8+
89
InitializeComponent();
910

1011
MainPage = new AppShell();

CreatePDF/AppShell.xaml renamed to CreatePDFAndView/AppShell.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<Shell
3-
x:Class="CreatePDF.AppShell"
3+
x:Class="CreatePDFAndView.AppShell"
44
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
55
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6-
xmlns:local="clr-namespace:CreatePDF"
6+
xmlns:local="clr-namespace:CreatePDFAndView"
77
Shell.FlyoutBehavior="Disabled"
8-
Title="CreatePDF">
8+
Title="CreatePDFAndView">
99

1010
<ShellContent
1111
Title="Home"

CreatePDF/AppShell.xaml.cs renamed to CreatePDFAndView/AppShell.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace CreatePDF
1+
namespace CreatePDFAndView
22
{
33
public partial class AppShell : Shell
44
{

CreatePDF/CreatePDF.csproj renamed to CreatePDFAndView/CreatePDFAndView.csproj

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
1515

1616
<OutputType>Exe</OutputType>
17-
<RootNamespace>CreatePDF</RootNamespace>
17+
<RootNamespace>CreatePDFAndView</RootNamespace>
1818
<UseMaui>true</UseMaui>
1919
<SingleProject>true</SingleProject>
2020
<ImplicitUsings>enable</ImplicitUsings>
2121
<Nullable>enable</Nullable>
2222

2323
<!-- Display name -->
24-
<ApplicationTitle>CreatePDF</ApplicationTitle>
24+
<ApplicationTitle>CreatePDFAndView</ApplicationTitle>
2525

2626
<!-- App Identifier -->
27-
<ApplicationId>com.companyname.createpdf</ApplicationId>
27+
<ApplicationId>com.companyname.createpdfandview</ApplicationId>
2828

2929
<!-- Versions -->
3030
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
@@ -57,11 +57,10 @@
5757
</ItemGroup>
5858

5959
<ItemGroup>
60-
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.100" />
61-
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.100" />
60+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
61+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
6262
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
63-
<PackageReference Include="Syncfusion.Pdf.NET" Version="*" />
64-
<PackageReference Include="Syncfusion.Maui.PdfViewer" Version="*" />
63+
<PackageReference Include="Syncfusion.Maui.PdfViewer" Version="*" />
6564
</ItemGroup>
6665

6766
</Project>

CreatePDFAndView/CreatePDFAndView.sln

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.13.35825.156 d17.13
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CreatePDFAndView", "CreatePDFAndView.csproj", "{FB6CD583-95C5-C68F-FE9C-123E358E128B}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{FB6CD583-95C5-C68F-FE9C-123E358E128B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{FB6CD583-95C5-C68F-FE9C-123E358E128B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{FB6CD583-95C5-C68F-FE9C-123E358E128B}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{FB6CD583-95C5-C68F-FE9C-123E358E128B}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{FB6CD583-95C5-C68F-FE9C-123E358E128B}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{FB6CD583-95C5-C68F-FE9C-123E358E128B}.Release|Any CPU.Deploy.0 = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
GlobalSection(ExtensibilityGlobals) = postSolution
25+
SolutionGuid = {9EAE0505-A920-47B1-A2E6-2A4D341C9182}
26+
EndGlobalSection
27+
EndGlobal

CreatePDF/MainPage.xaml renamed to CreatePDFAndView/MainPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
44
xmlns:syncfusion="clr-namespace:Syncfusion.Maui.PdfViewer;assembly=Syncfusion.Maui.PdfViewer"
5-
xmlns:local="clr-namespace:CreatePDF"
6-
x:Class="CreatePDF.MainPage">
5+
xmlns:local="clr-namespace:CreatePDFAndView"
6+
x:Class="CreatePDFAndView.MainPage">
77

88
<ContentPage.BindingContext>
99
<local:PdfViewerViewModel x:Name="viewModel" />

CreatePDF/MainPage.xaml.cs renamed to CreatePDFAndView/MainPage.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
namespace CreatePDF
1+
namespace CreatePDFAndView
22
{
33
public partial class MainPage : ContentPage
44
{
5-
65
public MainPage()
76
{
87
InitializeComponent();

CreatePDFAndView/MauiProgram.cs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
using Microsoft.Extensions.Logging;
2+
using Syncfusion.Maui.Core.Hosting;
3+
4+
namespace CreatePDFAndView;
5+
6+
public static class MauiProgram
7+
{
8+
public static MauiApp CreateMauiApp()
9+
{
10+
var builder = MauiApp.CreateBuilder();
11+
builder
12+
.UseMauiApp<App>()
13+
.ConfigureSyncfusionCore()
14+
.ConfigureFonts(fonts =>
15+
{
16+
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
17+
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
18+
});
19+
20+
#if DEBUG
21+
builder.Logging.AddDebug();
22+
#endif
23+
24+
return builder.Build();
25+
}
26+
}

0 commit comments

Comments
 (0)