/// <summary> /// Checks for object equality. /// </summary> /// <param name="options">Options to check.</param> /// <returns>Whether the objects are equal or not.</returns> public bool Equals(PdfOptions options) => options != null && Scale == options.Scale && DisplayHeaderFooter == options.DisplayHeaderFooter && HeaderTemplate == options.HeaderTemplate && FooterTemplate == options.FooterTemplate && PrintBackground == options.PrintBackground && Landscape == options.Landscape && PageRanges == options.PageRanges && EqualityComparer <PaperFormat> .Default.Equals(Format, options.Format) && EqualityComparer <object> .Default.Equals(Width, options.Width) && EqualityComparer <object> .Default.Equals(Height, options.Height) && EqualityComparer <MarginOptions> .Default.Equals(MarginOptions, options.MarginOptions) && PreferCSSPageSize == options.PreferCSSPageSize;
/// <inheritdoc /> public Task <Stream> GetPdfStreamAsync(PdfOptions options) => throw new NotImplementedException();
/// <inheritdoc /> public Task <byte[]> GetPdfDataAsync(PdfOptions options) => throw new NotImplementedException();
/// <inheritdoc /> public Task GetPdfAsync(string file, PdfOptions options) => throw new NotImplementedException();