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.
public class ExcelManualLayout : XmlHelper
- Inheritance
-
ExcelManualLayout
- Inherited Members
Properties
Height
Height offset between 100 to -100% of the chart height. In Excel exceeding these values counts as setting the property to 0.
public double? Height { get; set; }
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.
public eLayoutMode HeightMode { get; set; }
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.
public double? Left { get; set; }
Property Value
LeftMode
Define mode for Left (x) attribute Edge for origin point left chart edge, Factor for origin point DataLabel position
public eLayoutMode LeftMode { get; set; }
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.
public double? LegacyHeight { get; set; }
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.public eLayoutMode LegacyHeightMode { get; set; }
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.
public double? LegacyWidth { get; set; }
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.public eLayoutMode LegacyWidthMode { get; set; }
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.
public double? Top { get; set; }
Property Value
TopMode
Define mode for Top (y) attribute Edge for origin point top chart edge, Factor for origin point DataLabel position
public eLayoutMode TopMode { get; set; }
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.
public double? Width { get; set; }
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.
public eLayoutMode WidthMode { get; set; }