Class ChartPageSetupImpl
Class allows users to configure Print setting of chart.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ChartPageSetupImpl : PageSetupBaseImpl, IDisposable, IBiffStorage, IChartPageSetup, IPageSetupBase, IParentApplication
Constructors
ChartPageSetupImpl(IApplication, Object)
Sets application and parent fields.
Declaration
public ChartPageSetupImpl(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the page setup. |
System.Object | parent | Parent object for the page setup. |
ChartPageSetupImpl(IApplication, Object, BiffReader)
Recovers page setup from the stream and sets its application and parent fields. The current record in the stream must be the PrintHeadersRecord.
Declaration
public ChartPageSetupImpl(IApplication application, object parent, BiffReader reader)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the page setup. |
System.Object | parent | Parent object for the page setup. |
BiffReader | reader | BiffReader that contains page setup records. |
ChartPageSetupImpl(IApplication, Object, IList<BiffRecordRaw>, ref Int32)
Recovers Page setup from the Biff Records array starting from position.
Declaration
public ChartPageSetupImpl(IApplication application, object parent, IList<BiffRecordRaw> data, ref int position)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the page setup. |
System.Object | parent | Parent object for the page setup. |
System.Collections.Generic.IList<Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw> | data | Array of Biff Records that contains all needed records. |
System.Int32 | position | Position of PrintHeadersRecord in the array. |
ChartPageSetupImpl(IApplication, Object, List<BiffRecordRaw>, ref Int32)
Recovers Page setup from the Biff Records list starting from position.
Declaration
public ChartPageSetupImpl(IApplication application, object parent, List<BiffRecordRaw> data, ref int position)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the page setup. |
System.Object | parent | Parent object for the page setup. |
System.Collections.Generic.List<Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw> | data | List which contains Biff Records. |
System.Int32 | position | Position of PrintHeadersRecord in the array. |
Properties
FitToPagesTall
Returns or sets the number of pages tall the worksheet will be scaled to when it is printed. Applies only to worksheets. Read / write Boolean.
Declaration
public bool FitToPagesTall { get; set; }
Property Value
Type |
---|
System.Boolean |
FitToPagesWide
Returns or sets the number of pages wide the worksheet will be scaled to when it is printed. Applies only to worksheets. Read / write Boolean.
Declaration
public bool FitToPagesWide { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Clone(Object)
Clone current Record.
Declaration
public ChartPageSetupImpl Clone(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | Parent object for create new instance. |
Returns
Type | Description |
---|---|
ChartPageSetupImpl | Returns clone of current object. |
Parse(BiffReader)
Recovers page setup from the stream, first record must be PrintHeadersRecord.
Declaration
public void Parse(BiffReader reader)
Parameters
Type | Name | Description |
---|---|---|
BiffReader | reader | Stream that contains all needed records. |
ParseRecord(BiffRecordRaw)
Parses record.
Declaration
protected override bool ParseRecord(BiffRecordRaw record)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw | record | Record to parse. |
Returns
Type | Description |
---|---|
System.Boolean | True if record was successfully parsed, false otherwise. |
Overrides
SerializeEndRecords(OffsetArrayList)
Serializes some records after main page setup block.
Declaration
protected override void SerializeEndRecords(OffsetArrayList records)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | OffsetArrayList to serialize into. |