Skip to content
Open
Show file tree
Hide file tree
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
Expand Up @@ -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>
Expand Down
7 changes: 4 additions & 3 deletions Rotativa.AspNetCore/Rotativa.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down