From 148d99ca6091e42a11a2de32aa7065b213fa500a Mon Sep 17 00:00:00 2001 From: SaravanaPriya31 Date: Mon, 10 Jun 2024 18:23:54 +0530 Subject: [PATCH] 889569: commit --- .../PDFViewerSample/PDFViewerSample.sln | 25 ++ .../PDFViewerSample/PDFViewerSample.csproj | 13 + .../PDFViewerSample/Pages/Error.cshtml | 26 ++ .../PDFViewerSample/Pages/Error.cshtml.cs | 28 ++ .../PDFViewerSample/Pages/Index.cshtml | 17 ++ .../PDFViewerSample/Pages/Index.cshtml.cs | 20 ++ .../PDFViewerSample/Pages/Privacy.cshtml | 8 + .../PDFViewerSample/Pages/Privacy.cshtml.cs | 20 ++ .../Pages/Shared/_Layout.cshtml | 57 ++++ .../Pages/Shared/_Layout.cshtml.css | 48 ++++ .../Shared/_ValidationScriptsPartial.cshtml | 2 + .../PDFViewerSample/Pages/_ViewImports.cshtml | 4 + .../PDFViewerSample/Pages/_ViewStart.cshtml | 3 + .../PDFViewerSample/Program.cs | 25 ++ .../Properties/launchSettings.json | 38 +++ .../appsettings.Development.json | 9 + .../PDFViewerSample/appsettings.json | 9 + .../PDFViewerSample/wwwroot/favicon.ico | Bin 0 -> 5430 bytes .../PDFViewerSample/PDFViewerSample.sln | 25 ++ .../PDFViewerSample/PDFViewerSample.csproj | 13 + .../PDFViewerSample/Pages/Error.cshtml | 26 ++ .../PDFViewerSample/Pages/Error.cshtml.cs | 28 ++ .../PDFViewerSample/Pages/Index.cshtml | 13 + .../PDFViewerSample/Pages/Index.cshtml.cs | 20 ++ .../PDFViewerSample/Pages/Privacy.cshtml | 8 + .../PDFViewerSample/Pages/Privacy.cshtml.cs | 20 ++ .../Pages/Shared/_Layout.cshtml | 57 ++++ .../Pages/Shared/_Layout.cshtml.css | 48 ++++ .../Shared/_ValidationScriptsPartial.cshtml | 2 + .../PDFViewerSample/Pages/_ViewImports.cshtml | 4 + .../PDFViewerSample/Pages/_ViewStart.cshtml | 3 + .../PDFViewerSample/Program.cs | 25 ++ .../Properties/launchSettings.json | 38 +++ .../appsettings.Development.json | 9 + .../PDFViewerSample/appsettings.json | 9 + .../PDFViewerSample/wwwroot/favicon.ico | Bin 0 -> 5430 bytes How to/Organize pdf/Pages/Index.cshtml | 17 ++ .../PDFViewerSample.csproj | 14 + .../PDFViewerSample.sln | 25 ++ .../Pages/Error.cshtml | 26 ++ .../Pages/Error.cshtml.cs | 27 ++ .../Pages/Index.cshtml | 27 ++ .../Pages/Index.cshtml.cs | 266 ++++++++++++++++++ .../Pages/Privacy.cshtml | 8 + .../Pages/Privacy.cshtml.cs | 19 ++ .../Pages/Shared/_Layout.cshtml | 51 ++++ .../Pages/Shared/_Layout.cshtml.css | 48 ++++ .../Shared/_ValidationScriptsPartial.cshtml | 2 + .../Pages/_ViewImports.cshtml | 4 + .../Pages/_ViewStart.cshtml | 3 + .../Program.cs | 25 ++ .../Properties/launchSettings.json | 28 ++ .../README.md | 26 ++ .../appsettings.Development.json | 9 + .../appsettings.json | 9 + .../wwwroot/favicon.ico | Bin 0 -> 5430 bytes .../PDFViewerSample/PDFViewerSample.sln | 25 ++ .../PDFViewerSample/PDFViewerSample.csproj | 13 + .../PDFViewerSample/Pages/Error.cshtml | 26 ++ .../PDFViewerSample/Pages/Error.cshtml.cs | 28 ++ .../PDFViewerSample/Pages/Index.cshtml | 19 ++ .../PDFViewerSample/Pages/Index.cshtml.cs | 20 ++ .../PDFViewerSample/Pages/Privacy.cshtml | 8 + .../PDFViewerSample/Pages/Privacy.cshtml.cs | 20 ++ .../Pages/Shared/_Layout.cshtml | 57 ++++ .../Pages/Shared/_Layout.cshtml.css | 48 ++++ .../Shared/_ValidationScriptsPartial.cshtml | 2 + .../PDFViewerSample/Pages/_ViewImports.cshtml | 4 + .../PDFViewerSample/Pages/_ViewStart.cshtml | 3 + .../PDFViewerSample/Program.cs | 25 ++ .../Properties/launchSettings.json | 38 +++ .../appsettings.Development.json | 9 + .../PDFViewerSample/appsettings.json | 9 + .../PDFViewerSample/wwwroot/favicon.ico | Bin 0 -> 5430 bytes 74 files changed, 1688 insertions(+) create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample.sln create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/PDFViewerSample.csproj create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Program.cs create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.Development.json create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.json create mode 100644 How to/Download start event/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample.sln create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/PDFViewerSample.csproj create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Program.cs create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.Development.json create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.json create mode 100644 How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.csproj create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.sln create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml.cs create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml.cs create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml.cs create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml.css create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_ValidationScriptsPartial.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewImports.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewStart.cshtml create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Program.cs create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/Properties/launchSettings.json create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/README.md create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/appsettings.Development.json create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/appsettings.json create mode 100644 How to/Restrict Zoom Percentage on Mobile Devices/wwwroot/favicon.ico create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample.sln create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/PDFViewerSample.csproj create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Program.cs create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.Development.json create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.json create mode 100644 How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample.sln b/How to/Download start event/PDFViewerSample/PDFViewerSample.sln new file mode 100644 index 0000000..fcca1a3 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.34607.79 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDFViewerSample", "PDFViewerSample\PDFViewerSample.csproj", "{3936B843-A035-424E-BA4B-990436AC60BD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3936B843-A035-424E-BA4B-990436AC60BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3936B843-A035-424E-BA4B-990436AC60BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3936B843-A035-424E-BA4B-990436AC60BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3936B843-A035-424E-BA4B-990436AC60BD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {31245B35-82FC-4C3B-A888-4730D0AD8EE0} + EndGlobalSection +EndGlobal diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/PDFViewerSample.csproj b/How to/Download start event/PDFViewerSample/PDFViewerSample/PDFViewerSample.csproj new file mode 100644 index 0000000..16876f5 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/PDFViewerSample.csproj @@ -0,0 +1,13 @@ + + + + net8.0 + enable + enable + + + + + + + diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml new file mode 100644 index 0000000..6f92b95 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml @@ -0,0 +1,26 @@ +@page +@model ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

Error.

+

An error occurred while processing your request.

+ +@if (Model.ShowRequestId) +{ +

+ Request ID: @Model.RequestId +

+} + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs new file mode 100644 index 0000000..c008cae --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs @@ -0,0 +1,28 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; +using System.Diagnostics; + +namespace PDFViewerSample.Pages +{ + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + [IgnoreAntiforgeryToken] + public class ErrorModel : PageModel + { + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + private readonly ILogger _logger; + + public ErrorModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; + } + } + +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml new file mode 100644 index 0000000..8b35310 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml @@ -0,0 +1,17 @@ +@page "{handler?}" +@model IndexModel +@{ + ViewData["Title"] = "Home page"; +} + +
+ + +
+ + \ No newline at end of file diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs new file mode 100644 index 0000000..ef356dd --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class IndexModel : PageModel + { + private readonly ILogger _logger; + + public IndexModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + + } + } +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml new file mode 100644 index 0000000..46ba966 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml @@ -0,0 +1,8 @@ +@page +@model PrivacyModel +@{ + ViewData["Title"] = "Privacy Policy"; +} +

@ViewData["Title"]

+ +

Use this page to detail your site's privacy policy.

diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs new file mode 100644 index 0000000..cd60641 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class PrivacyModel : PageModel + { + private readonly ILogger _logger; + + public PrivacyModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + } + } + +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml new file mode 100644 index 0000000..b5648cd --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml @@ -0,0 +1,57 @@ + + + + + + @ViewData["Title"] - PDFViewerSample + + + + + + + + + +
+ +
+
+
+ @RenderBody() +
+
+ +
+
+ © 2024 - PDFViewerSample - Privacy +
+
+ + + + + + @await RenderSectionAsync("Scripts", required: false) + + + + \ No newline at end of file diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css new file mode 100644 index 0000000..c187c02 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css @@ -0,0 +1,48 @@ +/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification +for details on configuring this project to bundle and minify static web assets. */ + +a.navbar-brand { + white-space: normal; + text-align: center; + word-break: break-all; +} + +a { + color: #0077cc; +} + +.btn-primary { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.nav-pills .nav-link.active, .nav-pills .show > .nav-link { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.border-top { + border-top: 1px solid #e5e5e5; +} +.border-bottom { + border-bottom: 1px solid #e5e5e5; +} + +.box-shadow { + box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); +} + +button.accept-policy { + font-size: 1rem; + line-height: inherit; +} + +.footer { + position: absolute; + bottom: 0; + width: 100%; + white-space: nowrap; + line-height: 60px; +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml new file mode 100644 index 0000000..5a16d80 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -0,0 +1,2 @@ + + diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml new file mode 100644 index 0000000..51b8015 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml @@ -0,0 +1,4 @@ +@using PDFViewerSample +@namespace PDFViewerSample.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, Syncfusion.EJ2 \ No newline at end of file diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml new file mode 100644 index 0000000..a5f1004 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "_Layout"; +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Program.cs b/How to/Download start event/PDFViewerSample/PDFViewerSample/Program.cs new file mode 100644 index 0000000..bc275e4 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Program.cs @@ -0,0 +1,25 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. +builder.Services.AddRazorPages(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (!app.Environment.IsDevelopment()) +{ + app.UseExceptionHandler("/Error"); + // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. + app.UseHsts(); +} + +app.UseHttpsRedirection(); +app.UseStaticFiles(); + +app.UseRouting(); + +app.UseAuthorization(); + +app.MapRazorPages(); + +app.Run(); diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json b/How to/Download start event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json new file mode 100644 index 0000000..dbe83ce --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:12333", + "sslPort": 44366 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5059", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7232;http://localhost:5059", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.Development.json b/How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.Development.json new file mode 100644 index 0000000..770d3e9 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.json b/How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/How to/Download start event/PDFViewerSample/PDFViewerSample/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/How to/Download start event/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico b/How to/Download start event/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..63e859b476eff5055e0e557aaa151ca8223fbeef GIT binary patch literal 5430 zcmc&&Yj2xp8Fqnv;>&(QB_ve7>^E#o2mu=cO~A%R>DU-_hfbSRv1t;m7zJ_AMrntN zy0+^f&8be>q&YYzH%(88lQ?#KwiCzaCO*ZEo%j&v;<}&Lj_stKTKK>#U3nin@AF>w zb3ONSAFR{u(S1d?cdw53y}Gt1b-Hirbh;;bm(Rcbnoc*%@jiaXM|4jU^1WO~`TYZ~ zC-~jh9~b-f?fX`DmwvcguQzn*uV}c^Vd&~?H|RUs4Epv~gTAfR(B0lT&?RWQOtduM z^1vUD9{HQsW!{a9|0crA34m7Z6lpG^}f6f?={zD+ zXAzk^i^aKN_}s2$eX81wjSMONE#WVdzf|MT)Ap*}Vsn!XbvsI#6o&ij{87^d%$|A{ z=F{KB%)g%@z76yBzbb7seW**Ju8r4e*Z3PWNX3_tTDgzZatz7)Q6ytwB%@&@A|XT; zecM`Snxx5po$C)%yCP!KEtos~eOS)@2=kX-RIm)4glMCoagTEFxrBeSX%Euz734Fk z%7)x(k~T!@Hbg_37NSQL!vlTBXoURSzt~I**Zw`&F24fH*&kx=%nvZv|49SC*daD( zIw<~%#=lk8{2-l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 z7JpKXLHIh}#$wm|N`s}o-@|L_`>*(gTQ~)wr3Eap7g%PVNisKw82im;Gdv#85x#s+ zoqqtnwu4ycd>cOQgRh-=aEJbnvVK`}ja%+FZx}&ehtX)n(9nVfe4{mn0bgijUbNr7Tf5X^$*{qh2%`?--%+sbSrjE^;1e3>% zqa%jdY16{Y)a1hSy*mr0JGU05Z%=qlx5vGvTjSpTt6k%nR06q}1DU`SQh_ZAeJ}A@`hL~xvv05U?0%=spP`R>dk?cOWM9^KNb7B?xjex>OZo%JMQQ1Q zB|q@}8RiP@DWn-(fB;phPaIOP2Yp)XN3-Fsn)S3w($4&+p8f5W_f%gac}QvmkHfCj$2=!t`boCvQ zCW;&Dto=f8v##}dy^wg3VNaBy&kCe3N;1|@n@pUaMPT?(aJ9b*(gJ28$}(2qFt$H~u5z94xcIQkcOI++)*exzbrk?WOOOf*|%k5#KV zL=&ky3)Eirv$wbRJ2F2s_ILQY--D~~7>^f}W|Aw^e7inXr#WLI{@h`0|jHud2Y~cI~Yn{r_kU^Vo{1gja + + + net8.0 + enable + enable + + + + + + + diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml new file mode 100644 index 0000000..6f92b95 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml @@ -0,0 +1,26 @@ +@page +@model ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

Error.

+

An error occurred while processing your request.

+ +@if (Model.ShowRequestId) +{ +

+ Request ID: @Model.RequestId +

+} + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs new file mode 100644 index 0000000..c008cae --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs @@ -0,0 +1,28 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; +using System.Diagnostics; + +namespace PDFViewerSample.Pages +{ + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + [IgnoreAntiforgeryToken] + public class ErrorModel : PageModel + { + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + private readonly ILogger _logger; + + public ErrorModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; + } + } + +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml new file mode 100644 index 0000000..b8387d6 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml @@ -0,0 +1,13 @@ +@page "{handler?}" +@model IndexModel +@{ + ViewData["Title"] = "Home page"; + double MaxZoom = 10; + double MinZoom = 5; +} + + +
+ + +
diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs new file mode 100644 index 0000000..ef356dd --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class IndexModel : PageModel + { + private readonly ILogger _logger; + + public IndexModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + + } + } +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml new file mode 100644 index 0000000..46ba966 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml @@ -0,0 +1,8 @@ +@page +@model PrivacyModel +@{ + ViewData["Title"] = "Privacy Policy"; +} +

@ViewData["Title"]

+ +

Use this page to detail your site's privacy policy.

diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs new file mode 100644 index 0000000..cd60641 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class PrivacyModel : PageModel + { + private readonly ILogger _logger; + + public PrivacyModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + } + } + +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml new file mode 100644 index 0000000..b5648cd --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml @@ -0,0 +1,57 @@ + + + + + + @ViewData["Title"] - PDFViewerSample + + + + + + + + + +
+ +
+
+
+ @RenderBody() +
+
+ +
+
+ © 2024 - PDFViewerSample - Privacy +
+
+ + + + + + @await RenderSectionAsync("Scripts", required: false) + + + + \ No newline at end of file diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css new file mode 100644 index 0000000..c187c02 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css @@ -0,0 +1,48 @@ +/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification +for details on configuring this project to bundle and minify static web assets. */ + +a.navbar-brand { + white-space: normal; + text-align: center; + word-break: break-all; +} + +a { + color: #0077cc; +} + +.btn-primary { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.nav-pills .nav-link.active, .nav-pills .show > .nav-link { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.border-top { + border-top: 1px solid #e5e5e5; +} +.border-bottom { + border-bottom: 1px solid #e5e5e5; +} + +.box-shadow { + box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); +} + +button.accept-policy { + font-size: 1rem; + line-height: inherit; +} + +.footer { + position: absolute; + bottom: 0; + width: 100%; + white-space: nowrap; + line-height: 60px; +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml new file mode 100644 index 0000000..5a16d80 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -0,0 +1,2 @@ + + diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml new file mode 100644 index 0000000..51b8015 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml @@ -0,0 +1,4 @@ +@using PDFViewerSample +@namespace PDFViewerSample.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, Syncfusion.EJ2 \ No newline at end of file diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml new file mode 100644 index 0000000..a5f1004 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "_Layout"; +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Program.cs b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Program.cs new file mode 100644 index 0000000..bc275e4 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Program.cs @@ -0,0 +1,25 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. +builder.Services.AddRazorPages(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (!app.Environment.IsDevelopment()) +{ + app.UseExceptionHandler("/Error"); + // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. + app.UseHsts(); +} + +app.UseHttpsRedirection(); +app.UseStaticFiles(); + +app.UseRouting(); + +app.UseAuthorization(); + +app.MapRazorPages(); + +app.Run(); diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json new file mode 100644 index 0000000..dbe83ce --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:12333", + "sslPort": 44366 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5059", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7232;http://localhost:5059", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.Development.json b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.Development.json new file mode 100644 index 0000000..770d3e9 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.json b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico b/How to/Min and Max zoom/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..63e859b476eff5055e0e557aaa151ca8223fbeef GIT binary patch literal 5430 zcmc&&Yj2xp8Fqnv;>&(QB_ve7>^E#o2mu=cO~A%R>DU-_hfbSRv1t;m7zJ_AMrntN zy0+^f&8be>q&YYzH%(88lQ?#KwiCzaCO*ZEo%j&v;<}&Lj_stKTKK>#U3nin@AF>w zb3ONSAFR{u(S1d?cdw53y}Gt1b-Hirbh;;bm(Rcbnoc*%@jiaXM|4jU^1WO~`TYZ~ zC-~jh9~b-f?fX`DmwvcguQzn*uV}c^Vd&~?H|RUs4Epv~gTAfR(B0lT&?R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OMQJ@an>sOl4FYniE z;GOxd7AqxZNbYFNqobpv&HVO$c-w!Y*6r;$2oJ~h(a#(Bp<-)dg*mNigX~9rPqcHv z^;c*|Md?tD)$y?6FO$DWl$jUGV`F1G_^E&E>sY*YnA~ruv3=z9F8&&~Xpm<<75?N3 z>x~`I&M9q)O1=zWZHN9hZWx>RQ}zLP+iL57Q)%&_^$Sme^^G7;e-P~CR?kqU#Io#( z(nH1Wn*Ig)|M>WLGrxoU?FZrS`4GO&w;+39A3f8w{{Q7eg|$+dIlNFPAe+tN=FOYU z{A&Fg|H73+w1IK(W=j*L>JQgz$g0 z7JpKXLHIh}#$wm|N`s}o-@|L_`>*(gTQ~)wr3Eap7g%PVNisKw82im;Gdv#85x#s+ zoqqtnwu4ycd>cOQgRh-=aEJbnvVK`}ja%+FZx}&ehtX)n(9nVfe4{mn0bgijUbNr7Tf5X^$*{qh2%`?--%+sbSrjE^;1e3>% zqa%jdY16{Y)a1hSy*mr0JGU05Z%=qlx5vGvTjSpTt6k%nR06q}1DU`SQh_ZAeJ}A@`hL~xvv05U?0%=spP`R>dk?cOWM9^KNb7B?xjex>OZo%JMQQ1Q zB|q@}8RiP@DWn-(fB;phPaIOP2Yp)XN3-Fsn)S3w($4&+p8f5W_f%gac}QvmkHfCj$2=!t`boCvQ zCW;&Dto=f8v##}dy^wg3VNaBy&kCe3N;1|@n@pUaMPT?(aJ9b*(gJ28$}(2qFt$H~u5z94xcIQkcOI++)*exzbrk?WOOOf*|%k5#KV zL=&ky3)Eirv$wbRJ2F2s_ILQY--D~~7>^f}W|Aw^e7inXr#WLI{@h`0|jHud2Y~cI~Yn{r_kU^Vo{1gja + + @@ -24,5 +30,16 @@ else { pdfViewer.isPageOrganizerOpen = false; } + }, + function openPageOrganizer() { + var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0]; + // Close Page Organizer panel. + pdfViewer.pageOrganizer.openPageOrganizer(); + }, + function closePageOrganizer() { + var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0]; + // Close Page Organizer panel. + pdfViewer.pageOrganizer.closePageOrganizer();); } + diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.csproj b/How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.csproj new file mode 100644 index 0000000..dcbd110 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.csproj @@ -0,0 +1,14 @@ + + + + net6.0 + enable + enable + + + + + + + + diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.sln b/How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.sln new file mode 100644 index 0000000..67ddc5d --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/PDFViewerSample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDFViewerSample", "PDFViewerSample.csproj", "{39AA1883-BB43-4C46-9892-6033EA59C990}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {39AA1883-BB43-4C46-9892-6033EA59C990}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {39AA1883-BB43-4C46-9892-6033EA59C990}.Debug|Any CPU.Build.0 = Debug|Any CPU + {39AA1883-BB43-4C46-9892-6033EA59C990}.Release|Any CPU.ActiveCfg = Release|Any CPU + {39AA1883-BB43-4C46-9892-6033EA59C990}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5F13CE16-9CC4-4755-AFB4-367F461A209C} + EndGlobalSection +EndGlobal diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml new file mode 100644 index 0000000..6f92b95 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml @@ -0,0 +1,26 @@ +@page +@model ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

Error.

+

An error occurred while processing your request.

+ +@if (Model.ShowRequestId) +{ +

+ Request ID: @Model.RequestId +

+} + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml.cs b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml.cs new file mode 100644 index 0000000..0a23fb0 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Error.cshtml.cs @@ -0,0 +1,27 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; +using System.Diagnostics; + +namespace PDFViewerSample.Pages +{ + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + [IgnoreAntiforgeryToken] + public class ErrorModel : PageModel + { + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + private readonly ILogger _logger; + + public ErrorModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; + } + } +} \ No newline at end of file diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml new file mode 100644 index 0000000..43a5130 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml @@ -0,0 +1,27 @@ +@page "{handler?}" +@model IndexModel +@{ + ViewData["Title"] = "Home page"; +} + +
+ + + +
+ diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml.cs b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml.cs new file mode 100644 index 0000000..1f24ca8 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Index.cshtml.cs @@ -0,0 +1,266 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Caching.Memory; +using Syncfusion.EJ2.PdfViewer; +using Newtonsoft.Json; +using Microsoft.AspNetCore.Mvc.RazorPages; +using System.Reflection; +using System.Net; + +namespace PDFViewerSample.Pages +{ + [IgnoreAntiforgeryToken(Order = 1001)] + public class IndexModel : PageModel + { + + private readonly Microsoft.AspNetCore.Hosting.IHostingEnvironment _hostingEnvironment; + private IMemoryCache _cache; + + public IndexModel(Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment, IMemoryCache cache) + { + _hostingEnvironment = hostingEnvironment; + _cache = cache; + } + + public IActionResult OnPostLoad([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + MemoryStream stream = new MemoryStream(); + var jsonObject = JsonConverterstring(responseData); + object jsonResult = new object(); + if (jsonObject != null && jsonObject.ContainsKey("document")) + { + if (bool.Parse(jsonObject["isFileName"])) + { + string documentPath = GetDocumentPath(jsonObject["document"]); + if (!string.IsNullOrEmpty(documentPath)) + { + byte[] bytes = System.IO.File.ReadAllBytes(documentPath); + stream = new MemoryStream(bytes); + } + else + { + string fileName = jsonObject["document"].Split(new string[] { "://" }, StringSplitOptions.None)[0]; + if (fileName == "http" || fileName == "https") + { + WebClient WebClient = new WebClient(); + byte[] pdfDoc = WebClient.DownloadData(jsonObject["document"]); + stream = new MemoryStream(pdfDoc); + } + else + return this.Content(jsonObject["document"] + " is not found"); + } + } + else + { + byte[] bytes = Convert.FromBase64String(jsonObject["document"]); + stream = new MemoryStream(bytes); + } + } + jsonResult = pdfviewer.Load(stream, jsonObject); + return Content(JsonConvert.SerializeObject(jsonResult)); + } + + public Dictionary JsonConverterstring(jsonObjects results) + { + Dictionary resultObjects = new Dictionary(); + resultObjects = results.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public) + .ToDictionary(prop => prop.Name, prop => prop.GetValue(results, null)); + var emptyObjects = (from kv in resultObjects + where kv.Value != null + select kv).ToDictionary(kv => kv.Key, kv => kv.Value); + Dictionary jsonResult = emptyObjects.ToDictionary(k => k.Key, k => k.Value.ToString()); + return jsonResult; + } + + //Post action for processing the PDF documents. + public IActionResult OnPostRenderPdfPages([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + object jsonResult = pdfviewer.GetPage(jsonObject); + return Content(JsonConvert.SerializeObject(jsonResult)); + } + + //Post action for unloading and disposing the PDF document resources + public IActionResult OnPostUnload([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + pdfviewer.ClearCache(jsonObject); + return this.Content("Document cache is cleared"); + } + + //Post action for rendering the ThumbnailImages + public IActionResult OnPostRenderThumbnailImages([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + object result = pdfviewer.GetThumbnailImages(jsonObject); + return Content(JsonConvert.SerializeObject(result)); + } + + //Post action for processing the bookmarks from the PDF documents + public IActionResult OnPostBookmarks([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + object jsonResult = pdfviewer.GetBookmarks(jsonObject); + return Content(JsonConvert.SerializeObject(jsonResult)); + } + + //Post action for rendering the annotation comments + public IActionResult OnPostRenderAnnotationComments([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + object jsonResult = pdfviewer.GetAnnotationComments(jsonObject); + return Content(JsonConvert.SerializeObject(jsonResult)); + } + + //Post action for exporting the annotations + public IActionResult OnPostExportAnnotations([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + string jsonResult = pdfviewer.ExportAnnotation(jsonObject); + return Content(jsonResult); + } + + //Post action for importing the annotations + public IActionResult OnPostImportAnnotations([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + string jsonResult = string.Empty; + object JsonResult; + if (jsonObject != null && jsonObject.ContainsKey("fileName")) + { + string documentPath = GetDocumentPath(jsonObject["fileName"]); + if (!string.IsNullOrEmpty(documentPath)) + { + jsonResult = System.IO.File.ReadAllText(documentPath); + } + else + { + return this.Content(jsonObject["document"] + " is not found"); + } + } + else + { + string extension = Path.GetExtension(jsonObject["importedData"]); + if (extension != ".xfdf") + { + JsonResult = pdfviewer.ImportAnnotation(jsonObject); + return Content(JsonConvert.SerializeObject(JsonResult)); + } + else + { + string documentPath = GetDocumentPath(jsonObject["importedData"]); + if (!string.IsNullOrEmpty(documentPath)) + { + byte[] bytes = System.IO.File.ReadAllBytes(documentPath); + jsonObject["importedData"] = Convert.ToBase64String(bytes); + JsonResult = pdfviewer.ImportAnnotation(jsonObject); + return Content(JsonConvert.SerializeObject(JsonResult)); + } + else + { + return this.Content(jsonObject["document"] + " is not found"); + } + } + } + return Content(jsonResult); + } + + //Post action for downloading the PDF documents + public IActionResult OnPostDownload([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + string documentBase = pdfviewer.GetDocumentAsBase64(jsonObject); + return Content(documentBase); + } + + //Post action for printing the PDF documents + public IActionResult OnPostPrintImages([FromBody] jsonObjects responseData) + { + PdfRenderer pdfviewer = new PdfRenderer(_cache); + var jsonObject = JsonConverterstring(responseData); + object pageImage = pdfviewer.GetPrintImage(jsonObject); + return Content(JsonConvert.SerializeObject(pageImage)); + } + + //Gets the path of the PDF document + private string GetDocumentPath(string document) + { + string documentPath = string.Empty; + if (!System.IO.File.Exists(document)) + { + string basePath = _hostingEnvironment.WebRootPath; + string dataPath = string.Empty; + dataPath = basePath + "/"; + if (System.IO.File.Exists(dataPath + (document))) + documentPath = dataPath + document; + } + else + { + documentPath = document; + } + return documentPath; + } + } + + public class jsonObjects + { + public string document { get; set; } + public string password { get; set; } + public string zoomFactor { get; set; } + public string isFileName { get; set; } + public string xCoordinate { get; set; } + public string yCoordinate { get; set; } + public string pageNumber { get; set; } + public string documentId { get; set; } + public string hashId { get; set; } + public string sizeX { get; set; } + public string sizeY { get; set; } + public string startPage { get; set; } + public string endPage { get; set; } + public string stampAnnotations { get; set; } + public string textMarkupAnnotations { get; set; } + public string stickyNotesAnnotation { get; set; } + public string shapeAnnotations { get; set; } + public string measureShapeAnnotations { get; set; } + public string action { get; set; } + public string pageStartIndex { get; set; } + public string pageEndIndex { get; set; } + public string fileName { get; set; } + public string elementId { get; set; } + public string pdfAnnotation { get; set; } + public string importPageList { get; set; } + public string uniqueId { get; set; } + public string data { get; set; } + public string viewPortWidth { get; set; } + public string viewPortHeight { get; set; } + public string tilecount { get; set; } + public bool isCompletePageSizeNotReceived { get; set; } + public string freeTextAnnotation { get; set; } + public string signatureData { get; set; } + public string fieldsData { get; set; } + public string FormDesigner { get; set; } + public string inkSignatureData { get; set; } + public bool hideEmptyDigitalSignatureFields { get; set; } + public bool showDigitalSignatureAppearance { get; set; } + public bool digitalSignaturePresent { get; set; } + public string tileXCount { get; set; } + public string tileYCount { get; set; } + public string digitalSignaturePageList { get; set; } + public string annotationCollection { get; set; } + public string annotationsPageList { get; set; } + public string formFieldsPageList { get; set; } + public bool isAnnotationsExist { get; set; } + public bool isFormFieldAnnotationsExist { get; set; } + public string documentLiveCount { get; set; } + public string annotationDataFormat { get; set; } + public string importedData { get; set; } + } +} \ No newline at end of file diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml new file mode 100644 index 0000000..46ba966 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml @@ -0,0 +1,8 @@ +@page +@model PrivacyModel +@{ + ViewData["Title"] = "Privacy Policy"; +} +

@ViewData["Title"]

+ +

Use this page to detail your site's privacy policy.

diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml.cs b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml.cs new file mode 100644 index 0000000..f9a85a1 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Privacy.cshtml.cs @@ -0,0 +1,19 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class PrivacyModel : PageModel + { + private readonly ILogger _logger; + + public PrivacyModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + } + } +} \ No newline at end of file diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml new file mode 100644 index 0000000..624586c --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml @@ -0,0 +1,51 @@ + + + + + + @ViewData["Title"] - PDFViewerSample + + + + + + + +
+ +
+
+
+ @RenderBody() +
+
+ +
+
+ © 2022 - PDFViewerSample - Privacy +
+
+ + @await RenderSectionAsync("Scripts", required: false) + + + + \ No newline at end of file diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml.css b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml.css new file mode 100644 index 0000000..a72cbea --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_Layout.cshtml.css @@ -0,0 +1,48 @@ +/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification +for details on configuring this project to bundle and minify static web assets. */ + +a.navbar-brand { + white-space: normal; + text-align: center; + word-break: break-all; +} + +a { + color: #0077cc; +} + +.btn-primary { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.nav-pills .nav-link.active, .nav-pills .show > .nav-link { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.border-top { + border-top: 1px solid #e5e5e5; +} +.border-bottom { + border-bottom: 1px solid #e5e5e5; +} + +.box-shadow { + box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); +} + +button.accept-policy { + font-size: 1rem; + line-height: inherit; +} + +.footer { + position: absolute; + bottom: 0; + width: 100%; + white-space: nowrap; + line-height: 60px; +} diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_ValidationScriptsPartial.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_ValidationScriptsPartial.cshtml new file mode 100644 index 0000000..5a16d80 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -0,0 +1,2 @@ + + diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewImports.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewImports.cshtml new file mode 100644 index 0000000..51b8015 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewImports.cshtml @@ -0,0 +1,4 @@ +@using PDFViewerSample +@namespace PDFViewerSample.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, Syncfusion.EJ2 \ No newline at end of file diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewStart.cshtml b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewStart.cshtml new file mode 100644 index 0000000..a5f1004 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Pages/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "_Layout"; +} diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Program.cs b/How to/Restrict Zoom Percentage on Mobile Devices/Program.cs new file mode 100644 index 0000000..bc275e4 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Program.cs @@ -0,0 +1,25 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. +builder.Services.AddRazorPages(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (!app.Environment.IsDevelopment()) +{ + app.UseExceptionHandler("/Error"); + // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. + app.UseHsts(); +} + +app.UseHttpsRedirection(); +app.UseStaticFiles(); + +app.UseRouting(); + +app.UseAuthorization(); + +app.MapRazorPages(); + +app.Run(); diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/Properties/launchSettings.json b/How to/Restrict Zoom Percentage on Mobile Devices/Properties/launchSettings.json new file mode 100644 index 0000000..d52972e --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/Properties/launchSettings.json @@ -0,0 +1,28 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:38233", + "sslPort": 44357 + } + }, + "profiles": { + "PDFViewerSample": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7173;http://localhost:5173", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/README.md b/How to/Restrict Zoom Percentage on Mobile Devices/README.md new file mode 100644 index 0000000..25ccdee --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/README.md @@ -0,0 +1,26 @@ +# Create a simple PDF Viewer +This example shows how to create a simple PDF Viewer application. + +## Project pre-requisites +One of the the following .NET SDK is required to develop and run the Syncfusion UI controls for ASP.NET Core application. + +* NET 6.0 SDK +* NET 5.0 SDK +* NET Core SDK 3.1 +* NET Core SDK 2.0 +* NET 4.5 Framework + +If you are planning to use Visual Studio to develop ASP.NET Core Applications. + +.NET 6.0 requires Visual Studio 2022 17.0 or later. +.NET 5.0 requires Visual Studio 2019 16.8 or later. +.NET Core SDK 3.1 requires Visual Studio 2019 16.4 or later. +.NET Core SDK 2.0 requires Visual Studio 2017 15.7 or later. +.NET 4.5 Framework requires Visual Studio 2015 20.1 or later + +## Running the sample +Execute the following commands to run the sample via command prompt window. + +* dotnet restore +* dotnet run + diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/appsettings.Development.json b/How to/Restrict Zoom Percentage on Mobile Devices/appsettings.Development.json new file mode 100644 index 0000000..770d3e9 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/appsettings.json b/How to/Restrict Zoom Percentage on Mobile Devices/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/How to/Restrict Zoom Percentage on Mobile Devices/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/How to/Restrict Zoom Percentage on Mobile Devices/wwwroot/favicon.ico b/How to/Restrict Zoom Percentage on Mobile Devices/wwwroot/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..63e859b476eff5055e0e557aaa151ca8223fbeef GIT binary patch literal 5430 zcmc&&Yj2xp8Fqnv;>&(QB_ve7>^E#o2mu=cO~A%R>DU-_hfbSRv1t;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@h`0|jHud2Y~cI~Yn{r_kU^Vo{1gja + + + net8.0 + enable + enable + + + + + + + diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml new file mode 100644 index 0000000..6f92b95 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml @@ -0,0 +1,26 @@ +@page +@model ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

Error.

+

An error occurred while processing your request.

+ +@if (Model.ShowRequestId) +{ +

+ Request ID: @Model.RequestId +

+} + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs new file mode 100644 index 0000000..c008cae --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Error.cshtml.cs @@ -0,0 +1,28 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; +using System.Diagnostics; + +namespace PDFViewerSample.Pages +{ + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + [IgnoreAntiforgeryToken] + public class ErrorModel : PageModel + { + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + private readonly ILogger _logger; + + public ErrorModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; + } + } + +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml new file mode 100644 index 0000000..75d2076 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml @@ -0,0 +1,19 @@ +@page "{handler?}" +@model IndexModel +@{ + ViewData["Title"] = "Home page"; +} + +
+ + +
+ + diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs new file mode 100644 index 0000000..ef356dd --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Index.cshtml.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class IndexModel : PageModel + { + private readonly ILogger _logger; + + public IndexModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + + } + } +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml new file mode 100644 index 0000000..46ba966 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml @@ -0,0 +1,8 @@ +@page +@model PrivacyModel +@{ + ViewData["Title"] = "Privacy Policy"; +} +

@ViewData["Title"]

+ +

Use this page to detail your site's privacy policy.

diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs new file mode 100644 index 0000000..cd60641 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Privacy.cshtml.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace PDFViewerSample.Pages +{ + public class PrivacyModel : PageModel + { + private readonly ILogger _logger; + + public PrivacyModel(ILogger logger) + { + _logger = logger; + } + + public void OnGet() + { + } + } + +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml new file mode 100644 index 0000000..b5648cd --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml @@ -0,0 +1,57 @@ + + + + + + @ViewData["Title"] - PDFViewerSample + + + + + + + + + +
+ +
+
+
+ @RenderBody() +
+
+ +
+
+ © 2024 - PDFViewerSample - Privacy +
+
+ + + + + + @await RenderSectionAsync("Scripts", required: false) + + + + \ No newline at end of file diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css new file mode 100644 index 0000000..c187c02 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_Layout.cshtml.css @@ -0,0 +1,48 @@ +/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification +for details on configuring this project to bundle and minify static web assets. */ + +a.navbar-brand { + white-space: normal; + text-align: center; + word-break: break-all; +} + +a { + color: #0077cc; +} + +.btn-primary { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.nav-pills .nav-link.active, .nav-pills .show > .nav-link { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.border-top { + border-top: 1px solid #e5e5e5; +} +.border-bottom { + border-bottom: 1px solid #e5e5e5; +} + +.box-shadow { + box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); +} + +button.accept-policy { + font-size: 1rem; + line-height: inherit; +} + +.footer { + position: absolute; + bottom: 0; + width: 100%; + white-space: nowrap; + line-height: 60px; +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml new file mode 100644 index 0000000..5a16d80 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -0,0 +1,2 @@ + + diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml new file mode 100644 index 0000000..51b8015 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewImports.cshtml @@ -0,0 +1,4 @@ +@using PDFViewerSample +@namespace PDFViewerSample.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, Syncfusion.EJ2 \ No newline at end of file diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml new file mode 100644 index 0000000..a5f1004 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Pages/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "_Layout"; +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Program.cs b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Program.cs new file mode 100644 index 0000000..bc275e4 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Program.cs @@ -0,0 +1,25 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. +builder.Services.AddRazorPages(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (!app.Environment.IsDevelopment()) +{ + app.UseExceptionHandler("/Error"); + // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. + app.UseHsts(); +} + +app.UseHttpsRedirection(); +app.UseStaticFiles(); + +app.UseRouting(); + +app.UseAuthorization(); + +app.MapRazorPages(); + +app.Run(); diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json new file mode 100644 index 0000000..dbe83ce --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/Properties/launchSettings.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:12333", + "sslPort": 44366 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5059", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7232;http://localhost:5059", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.Development.json b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.Development.json new file mode 100644 index 0000000..770d3e9 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.json b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico b/How to/selectSignature and unSelectSignature event/PDFViewerSample/PDFViewerSample/wwwroot/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..63e859b476eff5055e0e557aaa151ca8223fbeef GIT binary patch literal 5430 zcmc&&Yj2xp8Fqnv;>&(QB_ve7>^E#o2mu=cO~A%R>DU-_hfbSRv1t;m7zJ_AMrntN zy0+^f&8be>q&YYzH%(88lQ?#KwiCzaCO*ZEo%j&v;<}&Lj_stKTKK>#U3nin@AF>w zb3ONSAFR{u(S1d?cdw53y}Gt1b-Hirbh;;bm(Rcbnoc*%@jiaXM|4jU^1WO~`TYZ~ zC-~jh9~b-f?fX`DmwvcguQzn*uV}c^Vd&~?H|RUs4Epv~gTAfR(B0lT&?RWQOtduM z^1vUD9{HQsW!{a9|0crA34m7Z6lpG^}f6f?={zD+ zXAzk^i^aKN_}s2$eX81wjSMONE#WVdzf|MT)Ap*}Vsn!XbvsI#6o&ij{87^d%$|A{ z=F{KB%)g%@z76yBzbb7seW**Ju8r4e*Z3PWNX3_tTDgzZatz7)Q6ytwB%@&@A|XT; zecM`Snxx5po$C)%yCP!KEtos~eOS)@2=kX-RIm)4glMCoagTEFxrBeSX%Euz734Fk z%7)x(k~T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