PdfRpt.Core.Helper.ApplyDataAnnotations.applyFixedHeight C# (CSharp) Méthode

applyFixedHeight() private static méthode

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