Base class for twoanchored drawings. Drawings are Charts, shapes and Pictures.
상속: XmlHelper, IDisposable
예제 #1
0
 internal static void Validate(ExcelDrawing d, ExcelDrawings drawings, ExcelGroupShape grp)
 {
     if (d._drawings != drawings)
     {
         throw new InvalidOperationException("All drawings must be in the same worksheet.");
     }
     if (d._parent != null && d._parent != grp)
     {
         throw new InvalidOperationException($"The drawing {d.Name} is already in a group different from the other drawings.");;
     }
 }
예제 #2
0
 internal ExcelDrawingAsType(ExcelDrawing drawing)
 {
     _drawing = drawing;
 }
예제 #3
0
 internal ExcelSlicerAsType(ExcelDrawing drawing)
 {
     _drawing = drawing;
 }
예제 #4
0
 internal ExcelControlAsType(ExcelDrawing drawing)
 {
     _drawing = drawing;
 }