Class ExcelDrawingAsType¶
Namespace: OfficeOpenXml.Drawing
Assembly: EPPlus.dll
Provides a simple way to type cast drawing object top its top level class.
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Chart¶
An object that containing properties that type-casts the drawing to a chart.
Property Value¶
Control¶
Helps to cast drawings to controls. Use the properties of this class to cast to the various specific control types.
Property Value¶
OleObject¶
Helps to cast drawings to an Ole object. If the drawing is not an Ole object null will be returned.
Property Value¶
Picture¶
Returns the drawing as a picture/image. If this drawing is not a picture, null will be returned
Property Value¶
Shape¶
Returns the drawing as a shape. If this drawing is not a shape, null will be returned
Property Value¶
Slicer¶
An object that containing properties that type-casts the drawing to a slicer.
Property Value¶
Methods¶
Type<T>()¶
Converts the drawing to it's top level or other nested drawing class.
Returns¶
T
The drawing as type T
Type Parameters¶
T
The type of drawing. T must be inherited from ExcelDrawing