Class ExcelManualLayout¶
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Manual layout for specifing positions of elements manually. For easiest use it is recommended to not change the modes of width or height. Left and Top are used to determine x and y position Width and Height to define the width and height of the element. By default all elements originate from their default Use eLayoutMode.Edge to set origin to the edge of the chart for the relevant element.
Inheritance¶
object ← XmlHelper ← ExcelManualLayout
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Height¶
Height offset between 100 to -100% of the chart height. In Excel exceeding these values counts as setting the property to 0.
Property Value¶
HeightMode¶
Define mode for Height (Bottom) attribute Using edge is not recommended. Edge for Height to be considered the bottom of the chart element. Note: In this case Height will be used for determining Both the element width and its bottom.
Property Value¶
Left¶
Left offset between 100 to -100% of the chart width. In Excel exceeding these values counts as setting the property to 0. In Edge mode negative values are not allowed.
Property Value¶
LeftMode¶
Define mode for Left (x) attribute Edge for origin point left chart edge, Factor for origin point DataLabel position
Property Value¶
LegacyHeight¶
Bottom offset between 100 to -100% of the chart width. In Excel exceeding these values counts as setting the property to 0. Legacy variable. if Height property is set this will be overridden.
Property Value¶
LegacyHeightMode¶
Define mode for Height (Bottom) attribute
Using edge is not recommended.
Edge for Height to be considered the bottom of the chart element.
Legacy variable. if HeightMode property is set this will be overridden.
Property Value¶
LegacyWidth¶
Right offset between 100 to -100% of the chart width. In Excel exceeding these values counts as setting the property to 0. Legacy variable. if Height property is set this will be overridden.
Property Value¶
LegacyWidthMode¶
Define mode for Width (Right) attribute
Using edge is not recommended.
Edge for Width to be considered the Right of the chart element.
Note: In this case Width will be used for determining Both the element width and its right.
Legacy variable. if WidthMode property is set this will be overridden.
Property Value¶
Top¶
Top offset between 100 to -100% of the chart height. In Excel exceeding these values counts as setting the property to 0. In Edge mode negative values are not allowed.
Property Value¶
TopMode¶
Define mode for Top (y) attribute Edge for origin point top chart edge, Factor for origin point DataLabel position
Property Value¶
Width¶
Width offset between 100 to -100% of the chart width. In Excel exceeding these values counts as setting the property to 0.
Property Value¶
WidthMode¶
Define mode for Width (Right) attribute Using edge is not recommended. Edge for Width to be considered the Right of the chart element. Note: In this case Width will be used for determining Both the element width and its right.