iTextSharp.text.pdf.DocumentFont.GetWidth C# (CSharp) Method

GetWidth() public method

public GetWidth ( int char1 ) : int
char1 int
return int
        public override int GetWidth(int char1)
        {
            if (cjkMirror != null)
                return cjkMirror.GetWidth(char1);
            else if (isType0) {
                int[] ws;
                metrics.TryGetValue((int)char1, out ws);
                if (ws != null)
                    return ws[1];
                else
                    return 0;
            }
            else
                return base.GetWidth(char1);
        }

Same methods

DocumentFont::GetWidth ( String text ) : int