The PdfViewer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AccessibilityObject | (Inherited from Control.) | |
| AccessibleDefaultActionDescription | (Inherited from Control.) | |
| AccessibleDescription | (Inherited from Control.) | |
| AccessibleName | (Inherited from Control.) | |
| AccessibleRole | (Inherited from Control.) | |
| ActiveControl | (Inherited from ContainerControl.) | |
| AllowDrop |
Allow drop
(Overrides ControlAllowDrop.) | |
| Anchor | (Inherited from Control.) | |
| AutoPageSize |
If true, it will print page size as it is no matter what is selected as Page size in the printer dialog.
By default it is false.
| |
| AutoScaleDimensions | (Inherited from ContainerControl.) | |
| AutoScaleFactor | (Inherited from ContainerControl.) | |
| AutoScaleMode | (Inherited from ContainerControl.) | |
| AutoScroll | (Inherited from ScrollableControl.) | |
| AutoScrollMargin | (Inherited from ScrollableControl.) | |
| AutoScrollMinSize | (Inherited from ScrollableControl.) | |
| AutoScrollOffset | (Inherited from Control.) | |
| AutoScrollPosition | (Inherited from ScrollableControl.) | |
| AutoSize | (Inherited from UserControl.) | |
| AutoSizeMode | (Inherited from UserControl.) | |
| AutoValidate | (Inherited from UserControl.) | |
| BackColor | (Inherited from Control.) | |
| BackgroundColor |
Gets or sets the color of the viewer background.
| |
| BackgroundImage | (Inherited from Control.) | |
| BackgroundImageLayout | (Inherited from Control.) | |
| BindingContext | (Inherited from ContainerControl.) | |
| BorderColor |
Border color of area where PDF document is displayed.
| |
| BorderStyle | (Inherited from UserControl.) | |
| Bottom | (Inherited from Control.) | |
| Bounds | (Inherited from Control.) | |
| CanEnableIme | (Inherited from ContainerControl.) | |
| CanFocus | (Inherited from Control.) | |
| CanRaiseEvents | (Inherited from Control.) | |
| CanSelect | (Inherited from Control.) | |
| Capture | (Inherited from Control.) | |
| CausesValidation | (Inherited from Control.) | |
| ClientRectangle | (Inherited from Control.) | |
| ClientSize | (Inherited from Control.) | |
| CompanyName | (Inherited from Control.) | |
| Container | (Inherited from Component.) | |
| ContainsFocus | (Inherited from Control.) | |
| ContextMenu | (Inherited from Control.) | |
| ContextMenuDisabled |
Disable context menu - if true, context menu will not be shown if right mouse button is clicked. Default is false.
| |
| ContextMenuStrip | (Inherited from Control.) | |
| Controls | (Inherited from Control.) | |
| Created | (Inherited from Control.) | |
| CreateParams | (Inherited from UserControl.) | |
| CurrentAutoScaleDimensions | (Inherited from ContainerControl.) | |
| CurrentPageNumber |
Current page number in loaded PDF document
| |
| CurrentVisitedPageIndex |
Gets the index of the current visited page.
| |
| Cursor | (Inherited from Control.) | |
| DataBindings | (Inherited from Control.) | |
| DefaultCursor | (Inherited from Control.) | |
| DefaultImeMode | (Inherited from Control.) | |
| DefaultMargin | (Inherited from Control.) | |
| DefaultMaximumSize | (Inherited from Control.) | |
| DefaultMinimumSize | (Inherited from Control.) | |
| DefaultPadding | (Inherited from Control.) | |
| DefaultSize | (Inherited from UserControl.) | |
| DesignMode | (Inherited from Component.) | |
| DisableParentShortcuts |
Disable parent shortcuts already defined in the PdfViewer?
| |
| DisablePdfViewerShortcuts |
Disable shortcuts defined in the PdfViewer
| |
| DisablePrinting |
Disable printing
| |
| DisplayRectangle | (Inherited from ScrollableControl.) | |
| Disposing | (Inherited from Control.) | |
| Dock | (Inherited from Control.) | |
| DockPadding | (Inherited from ScrollableControl.) | |
| DocumentPermissions |
Document permissions of loaded PDF document.
| |
| DocumentProperties |
Document properties of loaded PDF document.
| |
| DoubleBuffered | (Inherited from Control.) | |
| Enabled | (Inherited from Control.) | |
| Events | (Inherited from Component.) | |
| FastColorConversion |
When true, uses fast DeviceCMYK color conversion instead of ICC profiles.
This can significantly improve rendering performance (~5x faster) for PDFs with CMYK images
that have embedded ICC profiles, but may result in slightly different colors.
Default: false (ICC profiles enabled for accurate color reproduction).
Must be set BEFORE opening a document.
| |
| FitToPageZoomValue |
Gets zoom percentage at what PDF page is fit to current PDF display area.
| |
| Focused | (Inherited from Control.) | |
| Font | (Inherited from Control.) | |
| FontHeight | (Inherited from Control.) | |
| ForeColor | (Inherited from Control.) | |
| Handle | (Inherited from Control.) | |
| HasChildren | (Inherited from Control.) | |
| Height | (Inherited from Control.) | |
| HorizontalScroll | (Inherited from ScrollableControl.) | |
| HScroll | (Inherited from ScrollableControl.) | |
| ImageSelectionDisabled |
Disable selection of images. Recommeded to set to true if scrolling of the document is too slow.
Even if false, if document permission doesn't allow selection then selection will be disabled.
If SelectionDisabled property is true then this property is ignored.
| |
| ImeMode | (Inherited from Control.) | |
| ImeModeBase | (Inherited from Control.) | |
| InitialOpenDirectory |
Initial open directory in Open file dialog.
| |
| InitialOpenFileName |
Initial open file name in Open file dialog.
| |
| InvokeRequired | (Inherited from Control.) | |
| IsAccessible | (Inherited from Control.) | |
| IsCalledFromWPF |
Used when called from WPF application. Default is false.
| |
| IsDisposed | (Inherited from Control.) | |
| IsDocumentLoaded |
Is document loaded.
| |
| IsHandleCreated | (Inherited from Control.) | |
| IsMirrored | (Inherited from Control.) | |
| IsPrintAutoRotate |
If true, it will automatically adjust printing page orientation (landscape/portrait) as it is no matter what is selected as Page size in the printer dialog.
By default it is false.
| |
| IsPrintContentCentered |
Is printing content centered?
Default value is true
| |
| IsToolbarVisible |
Gets or sets a value indicating whether toolbar is visible.
| |
| LayoutEngine | (Inherited from Control.) | |
| Left | (Inherited from Control.) | |
| Location | (Inherited from Control.) | |
| Margin | (Inherited from Control.) | |
| MaximumSize | (Inherited from Control.) | |
| MinimumSize | (Inherited from Control.) | |
| Name | (Inherited from Control.) | |
| NumberOfPages |
Number of pages in loaded PDF document
| |
| OverridePrinterResolution |
If true, it will override the Printer resolution selected from the Print dialog with the value in PrinterResolution property.
| |
| Padding | (Inherited from Control.) | |
| Parent | (Inherited from Control.) | |
| ParentForm | (Inherited from ContainerControl.) | |
| PreferredSize | (Inherited from Control.) | |
| PrintCustomScale |
If PrintScale is set to CustomScale, the percentage value for how
to scale the printed content.
Default value is 100.
| |
| PrinterResolution |
If OvveridePrinterResolution == true then this value will be used as a PrinterResolution.
| |
| PrintMargins |
Margins to apply for the page. Units are 1/100 inch (i.e. 100 = 1 inch).
Setting [!:Scale] influences the print result.
When set to None, the margins are adjusted (if needed) to preserve the actual size of the print content.
And when content is smaller, existing whitespace is considered as part of margin space.
For all other values, the print content size is adjusted (if needed) to preserve the specified margins.
Default value is (0,0,0,0).
| |
| PrintScale |
How is printed content scaled. Available options are: None, FitToMargins, ShrinkToMargins and CustomScale.
Default value is FitToMargins.
| |
| ProductName | (Inherited from Control.) | |
| ProductVersion | (Inherited from Control.) | |
| RecreatingHandle | (Inherited from Control.) | |
| Region | (Inherited from Control.) | |
| RenderRightToLeft | Obsolete. (Inherited from Control.) | |
| ResizeRedraw | (Inherited from Control.) | |
| Right | (Inherited from Control.) | |
| RightToLeft | (Inherited from Control.) | |
| ScaleChildren | (Inherited from Control.) | |
| SelectionColor |
Gets or sets the color of the selection.
| |
| SelectionDisabled |
Disable selection of text and images. Even if false, if document permission doesn't allow selection then selection will be disabled.
| |
| ShowBookmarks |
Show bookmarks if available.
| |
| ShowFocusCues | (Inherited from Control.) | |
| ShowKeyboardCues | (Inherited from Control.) | |
| Site | (Inherited from Control.) | |
| Size | (Inherited from Control.) | |
| SupressErrorMessageInPrint |
If true, it will not show message box if error happens in printing. Used for showing custom message box.
By default it is false.
| |
| TabIndex | (Inherited from Control.) | |
| TableOfContent |
Table of content of loaded document. It can be null if not present.
| |
| TabStop | (Inherited from Control.) | |
| Tag | (Inherited from Control.) | |
| Text | (Inherited from UserControl.) | |
| TextSelectionDisabled |
Disable selection of text.
Even if false, if document permission doesn't allow selection then selection will be disabled.
If SelectionDisabled property is true then this property is ignored.
| |
| ToolbarBackgroundColor |
Gets or sets the color of the toolbar background.
| |
| ToolbarBookmarkVisible |
Show bookmarks button in toolbar.
| |
| ToolbarDocumentInfoVisible |
Show document info button in toolbar.
| |
| ToolbarEmailVisible |
Show email buttons in toolbar.
| |
| ToolbarOpenVisible |
Show button Open in toolbar.
| |
| ToolbarPageViewTypeVisible |
Show buttons in toolbar for changing display type of pages.
| |
| ToolbarPageVisible |
Show fields and buttons in toolbar related to pages.
| |
| ToolbarPrintVisible |
Show button Print in toolbar.
| |
| ToolbarRotateVisible |
Show buttons in toolbar for rotation.
| |
| ToolbarSaveVisible |
Show save buttons in toolbar.
| |
| ToolbarSearchVisible |
Show search field in toolbar
| |
| ToolbarTooltipVisible |
Gets or sets if tooltip is visible on the toolbar.
| |
| ToolbarVisitedPagesVisible |
Show buttons in toolbar for navigating through visited pages.
| |
| ToolbarZoomVisible |
Show zoom field and buttons in toolbar.
| |
| Top | (Inherited from Control.) | |
| TopLevelControl | (Inherited from Control.) | |
| UseWaitCursor | (Inherited from Control.) | |
| VerticalScroll | (Inherited from ScrollableControl.) | |
| ViewType |
Gets or sets the type of the display page type.
| |
| Visible | (Inherited from Control.) | |
| VisitedPages |
List of visited pages.
| |
| VScroll | (Inherited from ScrollableControl.) | |
| Watermark |
Table of content of loaded document. It can be null if not present.
| |
| Width | (Inherited from Control.) | |
| WindowTarget | (Inherited from Control.) | |
| ZoomValue |
Gets or sets the zoom value in percentage. For actual size set 100.
|
See Also