OfficeChartManualLayout
OfficeIMO.Drawing
A position, and optionally a size, set by hand for a chart's plot area, title or legend (OOXML c:manualLayout). Every value is a fraction of the chart's width or height.
Inheritance
- object
- OfficeChartManualLayout
Usage
Explore 6 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property OfficeChartLayout.LegendLayout
- Property OfficeChartLayout.PlotAreaLayout
- Property OfficeChartLayout.TitleLayout
Accepted by parameters 3
Constructors
public OfficeChartManualLayout(double x, double y, double? width = null, double? height = null, OfficeChartLayoutMode xMode = Factor, OfficeChartLayoutMode yMode = Factor, OfficeChartLayoutMode widthMode = Factor, OfficeChartLayoutMode heightMode = Factor, OfficeChartLayoutTarget target = Outer) #Creates a manual layout.
Parameters
- x double
- Left position as a fraction of the chart width: the left edge, or an offset from the automatic position.
- y double
- Top position as a fraction of the chart height: the top edge, or an offset from the automatic position.
- width double? = null
- Width as a fraction of the chart width, or the right edge in OfficeChartLayoutMode.Edge mode; null keeps the automatic width.
- height double? = null
- Height as a fraction of the chart height, or the bottom edge in OfficeChartLayoutMode.Edge mode; null keeps the automatic height.
- xMode OfficeIMO.Drawing.OfficeChartLayoutMode = Factor
- Whether x is the left edge or an offset from the automatic position.
- yMode OfficeIMO.Drawing.OfficeChartLayoutMode = Factor
- Whether y is the top edge or an offset from the automatic position.
- widthMode OfficeIMO.Drawing.OfficeChartLayoutMode = Factor
- Whether width is a width or the right edge.
- heightMode OfficeIMO.Drawing.OfficeChartLayoutMode = Factor
- Whether height is a height or the bottom edge.
- target OfficeIMO.Drawing.OfficeChartLayoutTarget = Outer
- For a plot area, whether the rectangle excludes (inner) or includes (outer) the axis labels.
Inherited Methods
Properties
public double X { get; } #Left position as a fraction of the chart width.
public double Y { get; } #Top position as a fraction of the chart height.
public double? Width { get; } #Width (or right edge) as a fraction of the chart width, or null for the automatic width.
public double? Height { get; } #Height (or bottom edge) as a fraction of the chart height, or null for the automatic height.
public OfficeChartLayoutMode XMode { get; } #How OfficeChartManualLayout.X is interpreted.
public OfficeChartLayoutMode YMode { get; } #How OfficeChartManualLayout.Y is interpreted.
public OfficeChartLayoutMode WidthMode { get; } #How OfficeChartManualLayout.Width is interpreted.
public OfficeChartLayoutMode HeightMode { get; } #How OfficeChartManualLayout.Height is interpreted.
public OfficeChartLayoutTarget Target { get; } #For a plot area, whether the rectangle excludes or includes the axis labels.