PdfViewOptions

PdfViewOptions class

Contains options for rendering documents into PDF format. For details, see the documentation.

public class PdfViewOptions : ViewOptions

Constructors

Name Description
PdfViewOptions() Initializes an instance of PdfViewOptions class.
PdfViewOptions(CreateFileStream) Initializes an instance of PdfViewOptions class.
PdfViewOptions(IFileStreamFactory) Initializes an instance of PdfViewOptions class.
PdfViewOptions(string) Initializes an instance of PdfViewOptions class.
PdfViewOptions(CreateFileStream, ReleaseFileStream) Initializes an instance of PdfViewOptions class.

Properties

Name Description
ArchiveOptions { get; set; } The archive files view options.
CadOptions { get; set; } The CAD drawing view options.
DefaultFontName { get; set; } Sets the default font for a document.
EmailOptions { get; set; } The email messages view options.
ImageHeight { get; set; } Sets the height of an output image (in pixels).
ImageMaxHeight { get; set; } Sets the maximum height of an output image (in pixels).
ImageMaxWidth { get; set; } Sets the maximum width of an output image (in pixels).
ImageWidth { get; set; } Sets the width of an output image (in pixels).
MailStorageOptions { get; set; } Mail storage data files view options.
OutlookOptions { get; set; } The Microsoft Outlook data files view options.
PdfOptimizationOptions { get; set; } Reduces output PDF file size by applying optimization techniques with different options.
PdfOptions { get; set; } The PDF document view options.
PresentationOptions { get; set; } The presentation files view options.
ProjectManagementOptions { get; set; } The project management files view options.
RemoveComments { get; set; } Disables rendering comments when set to true. By default is false — all comments are displayed.
RenderHiddenPages { get; set; } Enables rendering of hidden pages.
RenderNotes { get; set; } Enables rendering notes.
Security { get; set; } Sets the output PDF document security options.
SpreadsheetOptions { get; set; } The spreadsheet files view options.
TextOptions { get; set; } Text files view options.
VisioRenderingOptions { get; set; } The Visio files view options.
Watermark { get; set; } The text watermark to be applied to each page.
WebDocumentOptions { get; set; } The Web files view options.
WordProcessingOptions { get; set; } The Word processing files view options.

Methods

Name Description
RotatePage(int, Rotation) Applies the clockwise rotation to a page.

Fields

Name Description
readonly PageRotations The page rotation.

See Also