Class ChartManualLayoutImpl
Class used for setting chart elements layout manually
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Charts
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ChartManualLayoutImpl : CommonObject, IDisposable, IChartManualLayout, IParentApplication
Constructors
ChartManualLayoutImpl(IApplication, Object)
Creates chart and sets its Application and Parent properties to specified values.
Declaration
public ChartManualLayoutImpl(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the chart. |
System.Object | parent | Parent object for the chart. |
ChartManualLayoutImpl(IApplication, Object, Boolean)
Creates chart and sets its Application and Parent properties to specified values.
Declaration
public ChartManualLayoutImpl(IApplication application, object parent, bool bSetDefaults)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the chart. |
System.Object | parent | Parent object for the chart. |
System.Boolean | bSetDefaults | Indicates whether we should set defaults for fill and border properties. |
ChartManualLayoutImpl(IApplication, Object, Boolean, Boolean, Boolean)
Creates chart and sets its Application and Parent properties to specified values.
Declaration
public ChartManualLayoutImpl(IApplication application, object parent, bool bAutoSize, bool bIsInteriorGrey, bool bSetDefaults)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the chart. |
System.Object | parent | Parent object for the chart. |
System.Boolean | bAutoSize | Indicates is auto size. |
System.Boolean | bIsInteriorGrey | Indicates is interior is gray. |
System.Boolean | bSetDefaults | Indicates whether we should set defaults for fill and border properties. |
ChartManualLayoutImpl(IApplication, Object, IList<BiffRecordRaw>, ref Int32)
Creates and parses current object.
Declaration
public ChartManualLayoutImpl(IApplication application, object parent, IList<BiffRecordRaw> data, ref int iPos)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the chart. |
System.Object | parent | Parent object for the chart. |
System.Collections.Generic.IList<Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw> | data | Records storage. |
System.Int32 | iPos | Position in storage. |
Fields
m_dX
dX value.
Declaration
protected double m_dX
Field Value
Type | Description |
---|---|
System.Double |
m_dY
dY value.
Declaration
protected double m_dY
Field Value
Type | Description |
---|---|
System.Double |
m_height
Height of chart element.
Declaration
protected double m_height
Field Value
Type | Description |
---|---|
System.Double |
m_heightMode
Height mode of manual layout.
Declaration
protected LayoutModes m_heightMode
Field Value
Type | Description |
---|---|
LayoutModes |
m_layout
Parent chart.
Declaration
protected ChartLayoutImpl m_layout
Field Value
Type | Description |
---|---|
ChartLayoutImpl |
m_layoutTarget
Layout target for the plot area.
Declaration
protected LayoutTargets m_layoutTarget
Field Value
Type | Description |
---|---|
LayoutTargets |
m_left
Left (x location) of the chart element.
Declaration
protected double m_left
Field Value
Type | Description |
---|---|
System.Double |
m_leftMode
Left mode of manual layout.
Declaration
protected LayoutModes m_leftMode
Field Value
Type | Description |
---|---|
LayoutModes |
m_Parent
Parent object
Declaration
protected object m_Parent
Field Value
Type | Description |
---|---|
System.Object |
m_top
Top of the chart element.
Declaration
protected double m_top
Field Value
Type | Description |
---|---|
System.Double |
m_topMode
Top mode of manual layout.
Declaration
protected LayoutModes m_topMode
Field Value
Type | Description |
---|---|
LayoutModes |
m_width
Width of chart element.
Declaration
protected double m_width
Field Value
Type | Description |
---|---|
System.Double |
m_widthMode
Width mode of manual layout.
Declaration
protected LayoutModes m_widthMode
Field Value
Type | Description |
---|---|
LayoutModes |
m_xBR
xBR value.
Declaration
protected int m_xBR
Field Value
Type | Description |
---|---|
System.Int32 |
m_xTL
xTL value.
Declaration
protected int m_xTL
Field Value
Type | Description |
---|---|
System.Int32 |
m_yBR
yBR value.
Declaration
protected int m_yBR
Field Value
Type | Description |
---|---|
System.Int32 |
m_yTL
yTL value.
Declaration
protected int m_yTL
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
AttachedLabelLayout
Gets or sets the chart attached label layout record.
Declaration
public ChartAttachedLabelLayoutRecord AttachedLabelLayout { get; set; }
Property Value
Type | Description |
---|---|
ChartAttachedLabelLayoutRecord |
dX
Gets or sets the dx value
Declaration
public double dX { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
dY
Gets or sets the dy value
Declaration
public double dY { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Height
Gets or sets the height/bottom of the chart element as a fraction of height of the chart, based on HeightMode.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
HeightMode
Declaration
public LayoutModes HeightMode { get; set; }
Property Value
Type | Description |
---|---|
LayoutModes |
LayoutTarget
Gets or sets the layout target for the plot area.
Declaration
public LayoutTargets LayoutTarget { get; set; }
Property Value
Type | Description |
---|---|
LayoutTargets |
Left
Gets or sets the left (x location) of the chart element as a fraction of width of the chart.
Declaration
public double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
If LeftMode is factor, then the position is relative to the default position for the chart element.
LeftMode
Declaration
public LayoutModes LeftMode { get; set; }
Property Value
Type | Description |
---|---|
LayoutModes |
Parent
Return the parent object. Read-only.
Declaration
public object Parent { get; }
Property Value
Type | Description |
---|---|
System.Object |
PlotAreaLayout
Gets or sets the chart plot area layout record.
Declaration
public ChartPlotAreaLayoutRecord PlotAreaLayout { get; set; }
Property Value
Type | Description |
---|---|
ChartPlotAreaLayoutRecord |
Top
Gets or sets the top of the chart element as a fraction of height of the chart.
Declaration
public double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
If TopMode is factor, then the position is relative to the default position for the chart element.
TopMode
Gets or sets a value indicating how to interpret the Top of this manual layout.
Declaration
public LayoutModes TopMode { get; set; }
Property Value
Type | Description |
---|---|
LayoutModes |
Width
Gets or sets the width/right of the chart element as a fraction of width of the chart, based on WidthMode.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
WidthMode
Gets or sets a value indicating how to interpret the Width of this manual layout.
Declaration
public LayoutModes WidthMode { get; set; }
Property Value
Type | Description |
---|---|
LayoutModes |
xBR
Gets or sets the xBR value
Declaration
public int xBR { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
xTL
Gets or sets the xTL value
Declaration
public int xTL { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
yBR
Gets or sets the yBR value
Declaration
public int yBR { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
yTL
Gets or sets the yTL value
Declaration
public int yTL { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
SetDefaultValues()
Set variable to the default state.
Declaration
public void SetDefaultValues()