PdfRpt.Core.Helper.ApplyDataAnnotations.applyFixedHeight C# (CSharp) Метод

applyFixedHeight() приватный статический Метод

private static applyFixedHeight ( PropertyInfo property, ColumnAttributes columnAttributes ) : void
property System.Reflection.PropertyInfo
columnAttributes PdfRpt.Core.Contracts.ColumnAttributes
Результат void
        private static void applyFixedHeight(PropertyInfo property, ColumnAttributes columnAttributes)
        {
            var fixedHeight = property.GetFixedHeightAttribute();
            if (fixedHeight.HasValue)
                columnAttributes.FixedHeight = fixedHeight.Value;
        }