/// <summary> /// Returns true if ComDayCqDamCoreImplAnnotationPdfAnnotationPdfConfigProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqDamCoreImplAnnotationPdfAnnotationPdfConfigProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqDamCoreImplAnnotationPdfAnnotationPdfConfigProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( CqDamConfigAnnotationPdfDocumentWidth == other.CqDamConfigAnnotationPdfDocumentWidth || CqDamConfigAnnotationPdfDocumentWidth != null && CqDamConfigAnnotationPdfDocumentWidth.Equals(other.CqDamConfigAnnotationPdfDocumentWidth) ) && ( CqDamConfigAnnotationPdfDocumentHeight == other.CqDamConfigAnnotationPdfDocumentHeight || CqDamConfigAnnotationPdfDocumentHeight != null && CqDamConfigAnnotationPdfDocumentHeight.Equals(other.CqDamConfigAnnotationPdfDocumentHeight) ) && ( CqDamConfigAnnotationPdfDocumentPaddingHorizontal == other.CqDamConfigAnnotationPdfDocumentPaddingHorizontal || CqDamConfigAnnotationPdfDocumentPaddingHorizontal != null && CqDamConfigAnnotationPdfDocumentPaddingHorizontal.Equals(other.CqDamConfigAnnotationPdfDocumentPaddingHorizontal) ) && ( CqDamConfigAnnotationPdfDocumentPaddingVertical == other.CqDamConfigAnnotationPdfDocumentPaddingVertical || CqDamConfigAnnotationPdfDocumentPaddingVertical != null && CqDamConfigAnnotationPdfDocumentPaddingVertical.Equals(other.CqDamConfigAnnotationPdfDocumentPaddingVertical) ) && ( CqDamConfigAnnotationPdfFontSize == other.CqDamConfigAnnotationPdfFontSize || CqDamConfigAnnotationPdfFontSize != null && CqDamConfigAnnotationPdfFontSize.Equals(other.CqDamConfigAnnotationPdfFontSize) ) && ( CqDamConfigAnnotationPdfFontColor == other.CqDamConfigAnnotationPdfFontColor || CqDamConfigAnnotationPdfFontColor != null && CqDamConfigAnnotationPdfFontColor.Equals(other.CqDamConfigAnnotationPdfFontColor) ) && ( CqDamConfigAnnotationPdfFontFamily == other.CqDamConfigAnnotationPdfFontFamily || CqDamConfigAnnotationPdfFontFamily != null && CqDamConfigAnnotationPdfFontFamily.Equals(other.CqDamConfigAnnotationPdfFontFamily) ) && ( CqDamConfigAnnotationPdfFontLight == other.CqDamConfigAnnotationPdfFontLight || CqDamConfigAnnotationPdfFontLight != null && CqDamConfigAnnotationPdfFontLight.Equals(other.CqDamConfigAnnotationPdfFontLight) ) && ( CqDamConfigAnnotationPdfMarginTextImage == other.CqDamConfigAnnotationPdfMarginTextImage || CqDamConfigAnnotationPdfMarginTextImage != null && CqDamConfigAnnotationPdfMarginTextImage.Equals(other.CqDamConfigAnnotationPdfMarginTextImage) ) && ( CqDamConfigAnnotationPdfMinImageHeight == other.CqDamConfigAnnotationPdfMinImageHeight || CqDamConfigAnnotationPdfMinImageHeight != null && CqDamConfigAnnotationPdfMinImageHeight.Equals(other.CqDamConfigAnnotationPdfMinImageHeight) ) && ( CqDamConfigAnnotationPdfReviewStatusWidth == other.CqDamConfigAnnotationPdfReviewStatusWidth || CqDamConfigAnnotationPdfReviewStatusWidth != null && CqDamConfigAnnotationPdfReviewStatusWidth.Equals(other.CqDamConfigAnnotationPdfReviewStatusWidth) ) && ( CqDamConfigAnnotationPdfReviewStatusColorApproved == other.CqDamConfigAnnotationPdfReviewStatusColorApproved || CqDamConfigAnnotationPdfReviewStatusColorApproved != null && CqDamConfigAnnotationPdfReviewStatusColorApproved.Equals(other.CqDamConfigAnnotationPdfReviewStatusColorApproved) ) && ( CqDamConfigAnnotationPdfReviewStatusColorRejected == other.CqDamConfigAnnotationPdfReviewStatusColorRejected || CqDamConfigAnnotationPdfReviewStatusColorRejected != null && CqDamConfigAnnotationPdfReviewStatusColorRejected.Equals(other.CqDamConfigAnnotationPdfReviewStatusColorRejected) ) && ( CqDamConfigAnnotationPdfReviewStatusColorChangesRequested == other.CqDamConfigAnnotationPdfReviewStatusColorChangesRequested || CqDamConfigAnnotationPdfReviewStatusColorChangesRequested != null && CqDamConfigAnnotationPdfReviewStatusColorChangesRequested.Equals(other.CqDamConfigAnnotationPdfReviewStatusColorChangesRequested) ) && ( CqDamConfigAnnotationPdfAnnotationMarkerWidth == other.CqDamConfigAnnotationPdfAnnotationMarkerWidth || CqDamConfigAnnotationPdfAnnotationMarkerWidth != null && CqDamConfigAnnotationPdfAnnotationMarkerWidth.Equals(other.CqDamConfigAnnotationPdfAnnotationMarkerWidth) ) && ( CqDamConfigAnnotationPdfAssetMinheight == other.CqDamConfigAnnotationPdfAssetMinheight || CqDamConfigAnnotationPdfAssetMinheight != null && CqDamConfigAnnotationPdfAssetMinheight.Equals(other.CqDamConfigAnnotationPdfAssetMinheight) )); }