[]
        
(Showing Draft Content)

C1.Win.FlexPivot.C1FlexPivotPrintDocument

C1FlexPivotPrintDocument Class

Represents a PrintDocument component that allows to print FlexPivot views.

Inheritance
C1FlexPivotPrintDocument
Implements
Namespace: C1.Win.FlexPivot
Assembly: C1.Win.FlexPivot.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1FlexPivotPrintDocument), "C1FlexPivotPrintDocument.png")]
public class C1FlexPivotPrintDocument : PrintDocument, IComponent, IDisposable

Constructors

Name Description
C1FlexPivotPrintDocument()

Initializes a new instance of a C1FlexPivotPrintDocument.

C1FlexPivotPrintDocument(C1FlexPivotPage)

Initializes a new instance of a C1FlexPivotPrintDocument.

C1FlexPivotPrintDocument(FlexPivotPage)

Initializes a new instance of a C1FlexPivotPrintDocument.

Properties

Name Description
ChartFillsPage

Gets or sets a value that determines whether the FlexPivotChart fills the page or whether it preserves its original aspect ratio.

FlexPivotChart

Gets or sets the C1FlexPivotChart that shows the FlexPivot chart in the report.

FlexPivotEngine

Gets the C1.FlexPivot.C1FlexPivotEngine that contains the data and parameters used to generate this document.

FlexPivotGrid

Gets or sets the C1FlexPivotGrid that shows the C1FlexPivotGrid in the report.

FooterFont

Gets or sets the Font used to render the report footer.

FooterSeparator

Gets or sets a value that specifies whether a separator is drawn above the footer.

FooterText

Gets or sets the string used as a report footer.

GridOptions

Gets or sets options to be used when rendering the FlexPivotGrid.

HeaderFont

Gets or sets the Font used to render the report header.

HeaderSeparator

Gets or sets a value that specifies whether a separator is drawn below the header.

HeaderText

Gets or sets a string used as a report header.

PivotEngine

Gets the C1.PivotEngine.C1PivotEngine that contains the data and parameters used to generate this document.

RawDataGrid

Gets or sets the C1.Win.C1FlexGrid.C1FlexGrid that contains the raw data for the report.

RawDataOptions

Gets or sets options used to render the RawDataGrid.

ShowChart

Gets or sets a value that determines whether the FlexPivotChart is displayed in the report.

ShowGrid

Gets or sets a value that determines whether the FlexPivotGrid is displayed in the report.

ShowRawData

Gets or sets a value that determines whether the RawDataGrid should be displayed in the report.

Methods

Name Description
GetCurrentPage()

Gets the number of the page currently being printed.

GetViewTitle()

Gets a string that describes the current view.

OnBeginPrint(PrintEventArgs)

Raises the BeginPrint event.

OnPrintPage(PrintPageEventArgs)

Raises the PrintPage event.

ReadXml(string)

Reads the document settings from a file.

ReadXml(XmlReader)

Reads the document settings from an XmlReader.

ShowOptions(object)

Shows a dialog box that allows the user to set various document options, including page setup, headers and footers, and content scaling.

WriteXml(string)

Saves the document settings into an Xml file.

WriteXml(XmlWriter)

Saves the document settings into an XmlWriter.

Events

Name Description
OptionsDialogOpening

Occurs when the Print Document Options dialog window is opening.