Esempio n. 1
0
 public imgInfo()
 {
     this.alignField         = alignType.Left;
     this.valignField        = valignType.Top;
     this.fontnameField      = "Arial";
     this.fontsizeField      = ((float)(8F));
     this.fontboldField      = false;
     this.fontitalicField    = false;
     this.fontunderlineField = false;
     this.srcField           = "";
 }
Esempio n. 2
0
        private StringAlignment GetStringAlignment(alignType align)
        {
            switch (align)
            {
            case alignType.Left:
                return(StringAlignment.Near);

            case alignType.Center:
                return(StringAlignment.Center);

            case alignType.Right:
                return(StringAlignment.Far);
            }
            return(StringAlignment.Near);
        }