iTextSharp.text.List.NormalizeIndentation C# (CSharp) 메소드

NormalizeIndentation() 공개 메소드

public NormalizeIndentation ( ) : void
리턴 void
        public void NormalizeIndentation() {
            float max = 0;
            foreach (IElement o in list) {
                if (o is ListItem) {
                    max = Math.Max(max, ((ListItem)o).IndentationLeft);
                }
            }
            foreach (IElement o in list) {
                if (o is ListItem) {
                    ((ListItem)o).IndentationLeft = max;
                }
            }
        }