Exemplo n.º 1
0
 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 ());
         }
     }
 }
Exemplo n.º 2
0
		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 ());
				}
			}
		}