Ejemplo n.º 1
0
        private string GetColumnContentAlignment(Com.Delta.Print.Engine.StyledTableColumn.AlignmentType alignment)
        {
            switch (alignment)
            {
            case StyledTableColumn.AlignmentType.Left: return("left");

            case StyledTableColumn.AlignmentType.Center: return("center");

            case StyledTableColumn.AlignmentType.Right: return("right");

            default: return("left");
            }
        }
Ejemplo n.º 2
0
        private Com.Delta.Print.Engine.Pdf.HorizontalAlignment GetColumnContentAlignment(Com.Delta.Print.Engine.StyledTableColumn.AlignmentType alignment)
        {
            switch (alignment)
            {
            case StyledTableColumn.AlignmentType.Left: return(Com.Delta.Print.Engine.Pdf.HorizontalAlignment.Left);

            case StyledTableColumn.AlignmentType.Center: return(Com.Delta.Print.Engine.Pdf.HorizontalAlignment.Center);

            case StyledTableColumn.AlignmentType.Right: return(Com.Delta.Print.Engine.Pdf.HorizontalAlignment.Right);

            default: return(Com.Delta.Print.Engine.Pdf.HorizontalAlignment.Left);
            }
        }