예제 #1
0
 internal Sheet(DraftDocument draftFile, int index, string name, SheetPaperUnit units, SHEETINFO info)
 {
     _draftFile = draftFile;
     _index     = index;
     _name      = name;
     _units     = units;
     _info      = info;
 }
예제 #2
0
 internal Sheet(DraftDocument draftFile, int index, string name, SheetPaperUnit units, SHEETINFO info)
 {
     _draftFile = draftFile;
     _index = index;
     _name = name;
     _units = units;
     _info = info;
 }
 static void TestDocument(DraftDocument document)
 {
     if (Program._extractEMFs)
     {
         foreach (Sheet sheet in document.Sheets)
         {
             log.Debug(String.Format("Extracting sheet '{0}'", sheet.Name));
             sheet.SaveAsEmf(Path.ChangeExtension(document.FileName, String.Format("{0}.emf", sheet.Name)));
         }
     }
 }