/// <summary> /// Returns true if GetDocumentPreviewParameters instances are equal /// </summary> /// <param name="input">Instance of GetDocumentPreviewParameters to be compared</param> /// <returns>Boolean</returns> public bool Equals(GetDocumentPreviewParameters input) { if (input == null) { return(false); } return (( FileId == input.FileId || (FileId != null && FileId.Equals(input.FileId)) ) && ( ThumbnailWidth == input.ThumbnailWidth || ThumbnailWidth.Equals(input.ThumbnailWidth) ) && ( ThumbnailHeight == input.ThumbnailHeight || ThumbnailHeight.Equals(input.ThumbnailHeight) ) && ( ThumbnailBackgroundColor == input.ThumbnailBackgroundColor || (ThumbnailBackgroundColor != null && ThumbnailBackgroundColor.Equals(input.ThumbnailBackgroundColor)) ) && ( ThumbnailFitToPageSize == input.ThumbnailFitToPageSize || ThumbnailFitToPageSize.Equals(input.ThumbnailFitToPageSize) )); }
/// <summary> /// Returns true if LoadImageFromByteArrayParameters instances are equal /// </summary> /// <param name="input">Instance of LoadImageFromByteArrayParameters to be compared</param> /// <returns>Boolean</returns> public bool Equals(LoadImageFromByteArrayParameters input) { if (input == null) { return(false); } return (( Content == input.Content || (Content != null && Content.Equals(input.Content)) ) && ( FileName == input.FileName || (FileName != null && FileName.Equals(input.FileName)) ) && ( ContentEncoding == input.ContentEncoding || ContentEncoding.Equals(input.ContentEncoding) ) && ( GetPreview == input.GetPreview || GetPreview.Equals(input.GetPreview) ) && ( ThumbnailWidth == input.ThumbnailWidth || ThumbnailWidth.Equals(input.ThumbnailWidth) ) && ( ThumbnailHeight == input.ThumbnailHeight || ThumbnailHeight.Equals(input.ThumbnailHeight) ) && ( ThumbnailBackgroundColor == input.ThumbnailBackgroundColor || (ThumbnailBackgroundColor != null && ThumbnailBackgroundColor.Equals(input.ThumbnailBackgroundColor)) ) && ( ThumbnailFitToPageSize == input.ThumbnailFitToPageSize || ThumbnailFitToPageSize.Equals(input.ThumbnailFitToPageSize) )); }
/// <summary> /// Returns true if PdfGetPageThumbnailParameters instances are equal /// </summary> /// <param name="input">Instance of PdfGetPageThumbnailParameters to be compared</param> /// <returns>Boolean</returns> public bool Equals(PdfGetPageThumbnailParameters input) { if (input == null) { return(false); } return (( FileId == input.FileId || (FileId != null && FileId.Equals(input.FileId)) ) && ( PageRange == input.PageRange || (PageRange != null && PageRange.Equals(input.PageRange)) ) && ( ThumbnailWidth == input.ThumbnailWidth || ThumbnailWidth.Equals(input.ThumbnailWidth) ) && ( ThumbnailHeight == input.ThumbnailHeight || ThumbnailHeight.Equals(input.ThumbnailHeight) ) && ( BackgroundColor == input.BackgroundColor || (BackgroundColor != null && BackgroundColor.Equals(input.BackgroundColor)) ) && ( ThumbnailFitToPageSize == input.ThumbnailFitToPageSize || ThumbnailFitToPageSize.Equals(input.ThumbnailFitToPageSize) )); }
/// <summary> /// Returns true if PdfLoadDocumentParameters instances are equal /// </summary> /// <param name="input">Instance of PdfLoadDocumentParameters to be compared</param> /// <returns>Boolean</returns> public bool Equals(PdfLoadDocumentParameters input) { if (input == null) { return(false); } return (( FileName == input.FileName || (FileName != null && FileName.Equals(input.FileName)) ) && ( Password == input.Password || (Password != null && Password.Equals(input.Password)) ) && ( Conformance == input.Conformance || Conformance.Equals(input.Conformance) ) && ( ContentEncoding == input.ContentEncoding || ContentEncoding.Equals(input.ContentEncoding) ) && ( EnableColorDetection == input.EnableColorDetection || EnableColorDetection.Equals(input.EnableColorDetection) ) && ( GetPreview == input.GetPreview || GetPreview.Equals(input.GetPreview) ) && ( ThumbnailWidth == input.ThumbnailWidth || ThumbnailWidth.Equals(input.ThumbnailWidth) ) && ( ThumbnailHeight == input.ThumbnailHeight || ThumbnailHeight.Equals(input.ThumbnailHeight) ) && ( ThumbnailBackgroundColor == input.ThumbnailBackgroundColor || (ThumbnailBackgroundColor != null && ThumbnailBackgroundColor.Equals(input.ThumbnailBackgroundColor)) ) && ( ThumbnailFitToPageSize == input.ThumbnailFitToPageSize || ThumbnailFitToPageSize.Equals(input.ThumbnailFitToPageSize) ) && ( TxtPageWidth == input.TxtPageWidth || TxtPageWidth.Equals(input.TxtPageWidth) ) && ( TxtPageHeight == input.TxtPageHeight || TxtPageHeight.Equals(input.TxtPageHeight) ) && ( TxtPageMarginLeft == input.TxtPageMarginLeft || TxtPageMarginLeft.Equals(input.TxtPageMarginLeft) ) && ( TxtPageMarginTop == input.TxtPageMarginTop || TxtPageMarginTop.Equals(input.TxtPageMarginTop) ) && ( TxtPageMarginRight == input.TxtPageMarginRight || TxtPageMarginRight.Equals(input.TxtPageMarginRight) ) && ( TxtPageMarginBottom == input.TxtPageMarginBottom || TxtPageMarginBottom.Equals(input.TxtPageMarginBottom) ) && ( TxtHorizontalTextAlignment == input.TxtHorizontalTextAlignment || TxtHorizontalTextAlignment.Equals(input.TxtHorizontalTextAlignment) ) && ( TxtFontSize == input.TxtFontSize || TxtFontSize.Equals(input.TxtFontSize) ) && ( TxtFontFamily == input.TxtFontFamily || (TxtFontFamily != null && TxtFontFamily.Equals(input.TxtFontFamily)) ) && ( TxtFontBold == input.TxtFontBold || TxtFontBold.Equals(input.TxtFontBold) ) && ( TxtFontItalic == input.TxtFontItalic || TxtFontItalic.Equals(input.TxtFontItalic) )); }