Skip to content

Commit

Permalink
Add interface IRenderOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Mar 14, 2024
1 parent 634cabb commit a9817e0
Show file tree
Hide file tree
Showing 12 changed files with 297 additions and 1 deletion.
66 changes: 66 additions & 0 deletions src/PDFtoImage/IRenderOptions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
using SkiaSharp;
using System.Drawing;

namespace PDFtoImage
{
/// <summary>
/// Contains all relevant information to render a PDF page into an image.
/// </summary>
public interface IRenderOptions
{
/// <summary>
/// The DPI scaling to use for rasterization of the PDF.
/// </summary>
int Dpi { get; init; }

/// <summary>
/// The width of the desired page. Use <see langword="null"/> if the original width should be used.
/// </summary>
int? Width { get; init; }

/// <summary>
/// The height of the desired page. Use <see langword="null"/> if the original height should be used.
/// </summary>
int? Height { get; init; }

/// <summary>
/// Specifies whether annotations be rendered.
/// </summary>
bool WithAnnotations { get; init; }

/// <summary>
/// Specifies whether form filling will be rendered.
/// </summary>
bool WithFormFill { get; init; }

/// <summary>
/// Specifies that <see cref="Width"/> or <see cref="Height"/> should be adjusted for aspect ratio (either one must be <see langword="null"/>).
/// </summary>
bool WithAspectRatio { get; init; }

/// <summary>
/// Specifies the rotation at 90 degree intervals.
/// </summary>
PdfRotation Rotation { get; init; }

/// <summary>
/// Specifies which parts of the PDF should be anti-aliasing for rendering.
/// </summary>
PdfAntiAliasing AntiAliasing { get; init; }

/// <summary>
/// Specifies the background color. Defaults to <see cref="SKColors.White"/>.
/// </summary>
SKColor? BackgroundColor { get; init; }

/// <summary>
/// Specifies the bounds for the page relative to <see cref="Conversion.GetPageSizes(string,string)"/>. This can be used for clipping (bounds inside of page) or additional margins (bounds outside of page).
/// </summary>
RectangleF? Bounds { get; init; }

/// <summary>
/// Specifies that the PDF should be rendered as several segments and merged into the final image. This can help in cases where the output image is too large, causing corrupted images (e.g. missing text) or crashes.
/// </summary>
bool UseTiling { get; init; }
}
}
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/monoandroid10.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net462/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net471/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net481/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net6.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net7.0-android/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net7.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net8.0-android/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/net8.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
23 changes: 23 additions & 0 deletions src/PDFtoImage/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,29 @@ PDFtoImage.RenderOptions.WithFormFill.get -> bool
PDFtoImage.RenderOptions.WithFormFill.init -> void
PDFtoImage.RenderOptions.UseTiling.get -> bool
PDFtoImage.RenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions
PDFtoImage.IRenderOptions.AntiAliasing.get -> PDFtoImage.PdfAntiAliasing
PDFtoImage.IRenderOptions.AntiAliasing.init -> void
PDFtoImage.IRenderOptions.BackgroundColor.get -> SkiaSharp.SKColor?
PDFtoImage.IRenderOptions.BackgroundColor.init -> void
PDFtoImage.IRenderOptions.Bounds.get -> System.Drawing.RectangleF?
PDFtoImage.IRenderOptions.Bounds.init -> void
PDFtoImage.IRenderOptions.Dpi.get -> int
PDFtoImage.IRenderOptions.Dpi.init -> void
PDFtoImage.IRenderOptions.Height.get -> int?
PDFtoImage.IRenderOptions.Height.init -> void
PDFtoImage.IRenderOptions.Rotation.get -> PDFtoImage.PdfRotation
PDFtoImage.IRenderOptions.Rotation.init -> void
PDFtoImage.IRenderOptions.UseTiling.get -> bool
PDFtoImage.IRenderOptions.UseTiling.init -> void
PDFtoImage.IRenderOptions.Width.get -> int?
PDFtoImage.IRenderOptions.Width.init -> void
PDFtoImage.IRenderOptions.WithAnnotations.get -> bool
PDFtoImage.IRenderOptions.WithAnnotations.init -> void
PDFtoImage.IRenderOptions.WithAspectRatio.get -> bool
PDFtoImage.IRenderOptions.WithAspectRatio.init -> void
PDFtoImage.IRenderOptions.WithFormFill.get -> bool
PDFtoImage.IRenderOptions.WithFormFill.init -> void
PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.None = 0 -> PDFtoImage.PdfAntiAliasing
PDFtoImage.PdfAntiAliasing.Text = 1 -> PDFtoImage.PdfAntiAliasing
Expand Down
2 changes: 1 addition & 1 deletion src/PDFtoImage/RenderOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public readonly record struct RenderOptions(
PdfAntiAliasing AntiAliasing = PdfAntiAliasing.All,
SKColor? BackgroundColor = null,
RectangleF? Bounds = null,
bool UseTiling = false)
bool UseTiling = false) : IRenderOptions
{
/// <summary>
/// Constructs <see cref="RenderOptions"/> with default values.
Expand Down

0 comments on commit a9817e0

Please sign in to comment.