Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Zoom property #53 #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Rotativa.AspNetCore/AsPdfResultBase.cs
Original file line number Diff line number Diff line change
@@ -38,6 +38,12 @@ protected AsPdfResultBase()
[OptionFlag("-O")]
public Orientation? PageOrientation { get; set; }

/// <summary>
/// Sets the page zoom.
/// </summary>
[OptionFlag("--zoom")]
public double? Zoom { get; set; }

/// <summary>
/// Sets the page margins.
/// </summary>
7 changes: 4 additions & 3 deletions Rotativa.AspNetCore/Rotativa.AspNetCore.csproj
Original file line number Diff line number Diff line change
@@ -3,16 +3,17 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.1.1</Version>
<Version>1.1.2</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<RepositoryUrl>https://github.com/webgio/Rotativa.AspNetCore</RepositoryUrl>
<PackageProjectUrl>https://github.com/webgio/Rotativa.AspNetCore</PackageProjectUrl>
<Company>Viva Software di Bozio Giorgio</Company>
<Authors>Giorgio Bozio</Authors>
<Authors>Giorgio Bozio &amp; Lautaro Carro</Authors>
<Description>Rotativa: PDF easy creation for Asp.Net Core</Description>
<PackageReleaseNotes>fix for view relative path</PackageReleaseNotes>
<PackageReleaseNotes>Add Zoom property</PackageReleaseNotes>
<PackageTags>PDF AspNetCore</PackageTags>
<Copyright>2018 Viva Software di Bozio Giorgio</Copyright>
<PackageId>Rotativa.AspNetCore</PackageId>
</PropertyGroup>

<ItemGroup>