iTextSharp.text.pdf.codec.JBIG2Image.GetGlobalSegment C# (CSharp) Метод

GetGlobalSegment() публичный статический Метод

public static GetGlobalSegment ( RandomAccessFileOrArray ra ) : byte[]
ra iTextSharp.text.pdf.RandomAccessFileOrArray
Результат byte[]
        public static byte[] GetGlobalSegment(RandomAccessFileOrArray ra )
        {
            try {
                JBIG2SegmentReader sr = new JBIG2SegmentReader(ra);
                sr.Read();
                return sr.GetGlobal(true);
            } catch {
                return null;
            }
        }