PdfExcelElement Class

An Excel workbook rendered in the pages of a PDF document being created. The content starts at a position in the current page and flows to as many new pages as it needs, laid out inside the margins of the PDF document, and keeps the formatting, the images and the shapes of the worksheets

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.ExcelToPdf (in EvoPdf.Next.ExcelToPdf.dll) Version: 15.0.0
C#
public class PdfExcelElement
Inheritance
Object    PdfExcelElement

Constructors

PdfExcelElement(Byte) Creates an element that renders an Excel workbook given as a byte array
PdfExcelElement(String) Creates an element that renders an Excel workbook given as a file

Properties

ConvertOnlyFirstWorksheet True to render only the first worksheet of the workbook. The default is false
DisplayWorksheetTitle True to render the title of each worksheet above its content. The default is true
FallbackFontFiles The TrueType or OpenType font files used for the characters that the fonts of the content do not provide, such as the fonts of other scripts
FontFiles The TrueType or OpenType font files made available to the content, in addition to the fonts installed on the machine; a font file provides the family it is named after, so it also takes the place of a font of that name that is not installed
KeepColumnWidths True to keep the column widths of the worksheets, when the content of a cell can be clipped by a narrow column; false to adjust the columns to the width of the content, when the drawings of the worksheet may not align with the cells. The default is true
KeepRowHeights True to keep the row heights of the worksheets; false to adjust the rows to the height of the content, when the drawings of the worksheet may not align with the cells. The default is true
PageBreakBetweenWorksheets True to start each worksheet on a new page. The default is true
Width The width of the content in points, or 0 to extend it to the right margin of the page
X The X position where the content starts, in points and relative to the top left corner of the content area of the current page, inside the margins. The content keeps this left offset on the next pages
Y The Y position where the content starts, in points and relative to the top left corner of the content area of the current page, inside the margins. On the next pages the content starts at the top margin
Zoom The zoom of the rendered content in percents, from 10 to 200. The default is 100

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also