PdfiumViewer
Namespaces | Classes | Enumerations | Functions
PdfiumViewer Namespace Reference

Classes

class  CustomScrollControl
 
interface  IPdfDocument
 Represents a PDF document. More...
 
interface  IPdfMarker
 Represents a marker on a PDF page. More...
 
class  LinkClickEventArgs
 
class  NativeMethods
 
class  NativeTreeView
 
class  PanningZoomingScrollControl
 
class  PasswordForm
 
class  PdfBookmark
 
class  PdfBookmarkCollection
 
class  PdfDocument
 Provides functionality to render a PDF document. More...
 
class  PdfException
 
class  PdfFile
 
class  PdfInformation
 Contains text from metadata of the document. More...
 
class  PdfiumResolveEventArgs
 
class  PdfiumResolver
 
class  PdfLibrary
 
class  PdfMarker
 
class  PdfMarkerCollection
 
class  PdfMatch
 
class  PdfMatches
 
class  PdfPageLink
 Describes a link on a page. More...
 
class  PdfPageLinks
 Describes all links on a page. More...
 
struct  PdfPoint
 
class  PdfPrintDocument
 
class  PdfPrintMultiplePages
 Configuration for printing multiple PDF pages on a single page. More...
 
class  PdfPrintSettings
 Configures the print document. More...
 
struct  PdfRectangle
 
class  PdfRenderer
 Control to render PDF documents. More...
 
class  PdfSearchManager
 Helper class for searching through PDF documents. More...
 
class  PdfTextAndRect
 The text and rect. More...
 
struct  PdfTextSpan
 
class  PdfViewer
 Control to host PDF documents with support for printing. More...
 
class  SetCursorEventArgs
 
class  ShadeBorder
 
class  StreamExtensions
 
class  StreamManager
 

Enumerations

enum class  HitTest {
  Border = NativeMethods.HitTestValues.HTBORDER , Bottom = NativeMethods.HitTestValues.HTBOTTOM , BottomLeft = NativeMethods.HitTestValues.HTBOTTOMLEFT , BottomRight = NativeMethods.HitTestValues.HTBOTTOMRIGHT ,
  Caption = NativeMethods.HitTestValues.HTCAPTION , Client = NativeMethods.HitTestValues.HTCLIENT , CloseButton = NativeMethods.HitTestValues.HTCLOSE , Error = NativeMethods.HitTestValues.HTERROR ,
  GrowBox = NativeMethods.HitTestValues.HTGROWBOX , HelpButton = NativeMethods.HitTestValues.HTHELP , HorizontalScroll = NativeMethods.HitTestValues.HTHSCROLL , Left = NativeMethods.HitTestValues.HTLEFT ,
  MaximizeButton = NativeMethods.HitTestValues.HTMAXBUTTON , Menu = NativeMethods.HitTestValues.HTMENU , MinimizeButton = NativeMethods.HitTestValues.HTMINBUTTON , Nowhere = NativeMethods.HitTestValues.HTNOWHERE ,
  Object = NativeMethods.HitTestValues.HTOBJECT , Right = NativeMethods.HitTestValues.HTRIGHT , SystemMenu = NativeMethods.HitTestValues.HTSYSMENU , Top = NativeMethods.HitTestValues.HTTOP ,
  TopLeft = NativeMethods.HitTestValues.HTTOPLEFT , TopRight = NativeMethods.HitTestValues.HTTOPRIGHT , Transparent = NativeMethods.HitTestValues.HTTRANSPARENT , VerticalScroll = NativeMethods.HitTestValues.HTVSCROLL
}
 
enum class  MouseWheelMode { PanAndZoom , Pan , Zoom }
 
enum class  PdfError {
  Success = (int)NativeMethods.FPDF_ERR.FPDF_ERR_SUCCESS , Unknown = (int)NativeMethods.FPDF_ERR.FPDF_ERR_UNKNOWN , CannotOpenFile = (int)NativeMethods.FPDF_ERR.FPDF_ERR_FILE , InvalidFormat = (int)NativeMethods.FPDF_ERR.FPDF_ERR_FORMAT ,
  PasswordProtected = (int)NativeMethods.FPDF_ERR.FPDF_ERR_PASSWORD , UnsupportedSecurityScheme = (int)NativeMethods.FPDF_ERR.FPDF_ERR_SECURITY , PageNotFound = (int)NativeMethods.FPDF_ERR.FPDF_ERR_PAGE
}
 
enum class  PdfPrintMode { ShrinkToMargin , CutMargin }
 Specifies the mode in which the document should be printed. More...
 
enum class  PdfRenderFlags {
  None = 0 , ForPrinting = NativeMethods.FPDF.PRINTING , Annotations = NativeMethods.FPDF.ANNOT , LcdText = NativeMethods.FPDF.LCD_TEXT ,
  NoNativeText = NativeMethods.FPDF.NO_NATIVETEXT , Grayscale = NativeMethods.FPDF.GRAYSCALE , LimitImageCacheSize = NativeMethods.FPDF.RENDER_LIMITEDIMAGECACHE , ForceHalftone = NativeMethods.FPDF.RENDER_FORCEHALFTONE ,
  Transparent = 0x1000 , CorrectFromDpi = 0x2000
}
 Flags that influence the page rendering process. More...
 
enum class  PdfRotation { Rotate0 , Rotate90 , Rotate180 , Rotate270 }
 Specifies the rotation of pages shown in the PDF renderer. More...
 
enum class  PdfViewerZoomMode { FitHeight , FitWidth , FitBest }
 
enum class  ScrollAction {
  LineUp , LineDown , PageUp , PageDown ,
  Home , End
}
 

Functions

delegate void LinkClickEventHandler (object sender, LinkClickEventArgs e)
 
delegate void PdfiumResolveEventHandler (object sender, PdfiumResolveEventArgs e)
 
delegate void SetCursorEventHandler (object sender, SetCursorEventArgs e)
 

Enumeration Type Documentation

◆ PdfPrintMode

Specifies the mode in which the document should be printed.

Printers have a hard margin. This is a (small) margin on which it is not possible to print. PdfPrintMode specifies whether the page should be scaled to fit into this margin, or that the margin should be cut off of the page.

Enumerator
ShrinkToMargin 

Shrink the print area to fall within the hard printer margin.

CutMargin 

Cut the hard printer margin from the output.

◆ PdfRenderFlags

Flags that influence the page rendering process.

Enumerator
None 

No flags.

ForPrinting 

Render for printing.

Annotations 

Set if annotations are to be rendered.

LcdText 

Set if using text rendering optimized for LCD display.

NoNativeText 

Don't use the native text output available on some platforms.

Grayscale 

Grayscale output.

LimitImageCacheSize 

Limit image cache size.

ForceHalftone 

Always use halftone for image stretching.

Transparent 

Render with a transparent background.

CorrectFromDpi 

Correct height/width for DPI.

◆ PdfRotation

Specifies the rotation of pages shown in the PDF renderer.

Enumerator
Rotate0 

Rotates the output 0 degrees.

Rotate90 

Rotates the output 90 degrees.

Rotate180 

Rotates the output 180 degrees.

Rotate270 

Rotates the output 270 degrees.