protected void LoadBlocks() { using (System.IO.Stream file = Open()) { mrm = new MrmBlock(file); try { foreach (Block b in mrm.Blocks) { if (b is TtwBlock) { TtwBlock ttw = (TtwBlock)b; header = ttw.TiffHeader; //Header.Dump ("TTW:"); break; } } } catch (System.Exception e) { //System.Console.WriteLine (e.ToString ()); } } }
protected void LoadBlocks () { using (System.IO.Stream file = Open ()) { mrm = new MrmBlock (file); try { foreach (Block b in mrm.Blocks) { if (b is TtwBlock) { TtwBlock ttw = (TtwBlock) b; header = ttw.TiffHeader; //Header.Dump ("TTW:"); break; } } } catch (System.Exception e) { //System.Console.WriteLine (e.ToString ()); } } }