PdfRpt.Core.Helper.ApplyDataAnnotations.applyFixedHeight C# (CSharp) Method

applyFixedHeight() private static method

private static applyFixedHeight ( PropertyInfo property, ColumnAttributes columnAttributes ) : void
property System.Reflection.PropertyInfo
columnAttributes PdfRpt.Core.Contracts.ColumnAttributes
return void
        private static void applyFixedHeight(PropertyInfo property, ColumnAttributes columnAttributes)
        {
            var fixedHeight = property.GetFixedHeightAttribute();
            if (fixedHeight.HasValue)
                columnAttributes.FixedHeight = fixedHeight.Value;
        }