THidePrintObjects Enumeration
Enumeration defining which objects should not be printed or exported to pdf. You can 'or' more than one option together. For example, to not print images and not comments, you should specify: THidePrintObjects.Images | THidePrintOption.Comments
Syntax
Namespace: FlexCel.Core
Members
Name | Value | Description |
---|---|---|
None | 0 | Print and Export everything. |
Images | 1 | Do not print or export images to pdf. |
Comments | 2 | Do not export Comments to pdf. Note that if the Excel file is configured to print "Comments as displayed" then those comments will be exported as images even if this option is false. Use THidePrintObjects.Images to control those comments, as they are considered images. Or just set ExcelFile.PrintComments to be something different than "Comments as displayed". |
Hyperlynks | 4 | Do not export Hyperlinks to pdf. |
Headers | 8 | Do not print or export to pdf the Headers. |
Footers | 16 | Do not print or export to pdf the Footers. |
HeadersAndFooters | 24 | Do not export headers nor footers. This is the same as specifying TPrintOptions.Headers and TPrintOptions.Footers. |
PageBreaks | 32 | Do not export page breaks. This property only applies to html exports. |