Skip to content

T_PDFiumSharp_PDFium

ArgusMagnus edited this page Apr 4, 2017 · 2 revisions

PDFium Class

Static class containing the native (imported) PDFium functions. In case of missing documentation, refer to the PDFium header files.

Inheritance Hierarchy

System.Object
  PDFiumSharp.PDFium
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

public static class PDFium

The PDFium type exposes the following members.

Properties

 

Name Description
Public propertyStatic member IsAvailable Gets a value indicating whether the PDFium library is available. false is returned if the native libraries could not be loaded for some reason.
  Back to Top

Methods

 

Name Description
Public methodStatic member FPDF_CloseDocument Close a loaded PDF document.
Public methodStatic member FPDF_ClosePage Close a loaded PDF page.
Public methodStatic member FPDF_CopyViewerPreferences
Public methodStatic member FPDF_CountNamedDests Get the count of named destinations in the PDF document.
Public methodStatic member FPDF_CreateClipPath
Public methodStatic member FPDF_CreateNewDocument Create a new PDF document.
Public methodStatic member FPDF_DestroyClipPath
Public methodStatic member FPDF_DestroyLibrary Release all resources allocated by the PDFium library.
Public methodStatic member FPDF_DeviceToPage
Public methodStatic member FPDF_GetDocPermissions
Public methodStatic member FPDF_GetFileVersion Get the file version of the given PDF document.
Public methodStatic member FPDF_GetLastError Get last error code when a function fails.
Public methodStatic member FPDF_GetMetaText(FPDF_DOCUMENT, MetadataTags) Get meta-data tag content from document.
Public methodStatic member FPDF_GetMetaText(FPDF_DOCUMENT, String) Get meta-data tag content from document.
Public methodStatic member FPDF_GetMetaText(FPDF_DOCUMENT, String, Byte, UInt32)
Public methodStatic member FPDF_GetNamedDest Get the named destination by index.
Public methodStatic member FPDF_GetNamedDestByName Get a the destination handle for the given name.
Public methodStatic member FPDF_GetPageCount Get total number of pages in the document.
Public methodStatic member FPDF_GetPageHeight Get page height.
Public methodStatic member FPDF_GetPageSizeByIndex Get the size of the page at the given index.
Public methodStatic member FPDF_GetPageWidth Get page width.
Public methodStatic member FPDF_GetSecurityHandlerRevision
Public methodStatic member FPDF_ImportPages(FPDF_DOCUMENT, FPDF_DOCUMENT, Int32, Int32[]) Imports pages from src_doc to dest_doc
Public methodStatic member FPDF_ImportPages(FPDF_DOCUMENT, FPDF_DOCUMENT, String, Int32)
Public methodStatic member FPDF_InitLibrary Initialize the PDFium library
Public methodStatic member FPDF_InitLibraryWithConfig Initialize the PDFium library
Public methodStatic member FPDF_LoadCustomDocument Load PDF document from a custom access descriptor.
Public methodStatic member FPDF_LoadDocument(String, String) Open and load a PDF document.
Public methodStatic member FPDF_LoadDocument(Stream, Int32, String) Loads a PDF document from 'count' bytes read from a stream.
Public methodStatic member FPDF_LoadDocument(Byte[], Int32, Int32, String) Loads a PDF document from memory.
Public methodStatic member FPDF_LoadPage Load a page inside the document.
Public methodStatic member FPDF_PageToDevice
Public methodStatic member FPDF_RenderPage_Close
Public methodStatic member FPDF_RenderPage_Continue
Public methodStatic member FPDF_RenderPageBitmap Render contents of a page to a device independent bitmap.
Public methodStatic member FPDF_RenderPageBitmap_Start
Public methodStatic member FPDF_RenderPageBitmapWithMatrix Render contents of a page to a device independent bitmap.
Public methodStatic member FPDF_SaveAsCopy(FPDF_DOCUMENT, FPDF_FILEWRITE, SaveFlags)
Public methodStatic member FPDF_SaveAsCopy(FPDF_DOCUMENT, Stream, SaveFlags, Int32) Saves a PDF document to a stream.
Public methodStatic member FPDF_SaveWithVersion
Public methodStatic member FPDF_StructElement_CountChildren
Public methodStatic member FPDF_StructElement_GetAltText Get the alternative text for a given element.
Public methodStatic member FPDF_StructElement_GetChildAtIndex
Public methodStatic member FPDF_StructTree_Close
Public methodStatic member FPDF_StructTree_CountChildren
Public methodStatic member FPDF_StructTree_GetChildAtIndex
Public methodStatic member FPDF_StructTree_GetForPage
Public methodStatic member FPDF_VIEWERREF_GetDuplex Returns the paper handling option to be used when printing from the print dialog.
Public methodStatic member FPDF_VIEWERREF_GetNumCopies Returns the number of copies to be printed.
Public methodStatic member FPDF_VIEWERREF_GetPrintPageRange Page numbers to initialize print dialog box when file is printed.
Public methodStatic member FPDF_VIEWERREF_GetPrintScaling Whether the PDF document prefers to be scaled or not.
Public methodStatic member FPDFAction_GetDest
Public methodStatic member FPDFAction_GetFilePath Gets the file path of a FPDF_ACTION of type RemoteGoTo or Launch.
Public methodStatic member FPDFAction_GetType
Public methodStatic member FPDFAction_GetURIPath Gets URI path of a FPDF_ACTION of type Uri.
Public methodStatic member FPDFBitmap_Create Create a device independent bitmap (FXDIB).
Public methodStatic member FPDFBitmap_CreateEx Create a device independent bitmap (FXDIB).
Public methodStatic member FPDFBitmap_Destroy Destroy a bitmap and release all related buffers.
Public methodStatic member FPDFBitmap_FillRect Fill a rectangle in a bitmap.
Public methodStatic member FPDFBitmap_GetBuffer Get data buffer of a bitmap.
Public methodStatic member FPDFBitmap_GetHeight Get height of a bitmap.
Public methodStatic member FPDFBitmap_GetStride Get number of bytes for each line in the bitmap buffer.
Public methodStatic member FPDFBitmap_GetWidth Get width of a bitmap.
Public methodStatic member FPDFBookmark_Find
Public methodStatic member FPDFBookmark_GetAction
Public methodStatic member FPDFBookmark_GetDest
Public methodStatic member FPDFBookmark_GetFirstChild
Public methodStatic member FPDFBookmark_GetNextSibling
Public methodStatic member FPDFBookmark_GetTitle Get the title of bookmark.
Public methodStatic member FPDFDest_GetLocationInPage
Public methodStatic member FPDFDest_GetPageIndex
Public methodStatic member FPDFDoc_GetPageMode
Public methodStatic member FPDFImageObj_LoadJpegFile Load an image from a JPEG image file and then set it into image_object.
Public methodStatic member FPDFImageObj_SetBitmap(FPDF_PAGE[], FPDF_PAGEOBJECT, FPDF_BITMAP) Set bitmap to image_object.
Public methodStatic member FPDFImageObj_SetBitmap(FPDF_PAGE, Int32, FPDF_PAGEOBJECT, FPDF_BITMAP)
Public methodStatic member FPDFImageObj_SetMatrix
Public methodStatic member FPDFLink_CloseWebLinks
Public methodStatic member FPDFLink_CountQuadPoints
Public methodStatic member FPDFLink_CountRects
Public methodStatic member FPDFLink_CountWebLinks
Public methodStatic member FPDFLink_Enumerate Enumerates all the link annotations in page.
Public methodStatic member FPDFLink_GetAction
Public methodStatic member FPDFLink_GetAnnotRect
Public methodStatic member FPDFLink_GetDest
Public methodStatic member FPDFLink_GetLinkAtPoint
Public methodStatic member FPDFLink_GetLinkZOrderAtPoint
Public methodStatic member FPDFLink_GetQuadPoints
Public methodStatic member FPDFLink_GetRect
Public methodStatic member FPDFLink_GetURL
Public methodStatic member FPDFLink_LoadWebLinks
Public methodStatic member FPDFPage_CountObject
Public methodStatic member FPDFPage_Delete
Public methodStatic member FPDFPage_Flatten
Public methodStatic member FPDFPage_GenerateContent
Public methodStatic member FPDFPage_GetCropBox
Public methodStatic member FPDFPage_GetMediaBox
Public methodStatic member FPDFPage_GetObject
Public methodStatic member FPDFPage_GetRotation
Public methodStatic member FPDFPage_HasTransparency
Public methodStatic member FPDFPage_InsertClipPath
Public methodStatic member FPDFPage_InsertObject Insert page_obj into page.
Public methodStatic member FPDFPage_New
Public methodStatic member FPDFPage_SetCropBox
Public methodStatic member FPDFPage_SetMediaBox
Public methodStatic member FPDFPage_SetRotation
Public methodStatic member FPDFPage_TransformAnnots
Public methodStatic member FPDFPage_TransFormWithClip
Public methodStatic member FPDFPageObj_CreateNewPath
Public methodStatic member FPDFPageObj_CreateNewRect
Public methodStatic member FPDFPageObj_HasTransparency
Public methodStatic member FPDFPageObj_NewImageObj
Public methodStatic member FPDFPageObj_NewTextObj
Public methodStatic member FPDFPageObj_Transform
Public methodStatic member FPDFPageObj_TransformClipPath
Public methodStatic member FPDFPath_BezierTo
Public methodStatic member FPDFPath_Close
Public methodStatic member FPDFPath_LineTo
Public methodStatic member FPDFPath_MoveTo
Public methodStatic member FPDFPath_SetDrawMode
Public methodStatic member FPDFPath_SetFillColor
Public methodStatic member FPDFPath_SetStrokeColor
Public methodStatic member FPDFPath_SetStrokeWidth
Public methodStatic member FPDFText_ClosePage
Public methodStatic member FPDFText_CountChars
Public methodStatic member FPDFText_CountRects
Public methodStatic member FPDFText_FindClose
Public methodStatic member FPDFText_FindNext
Public methodStatic member FPDFText_FindPrev
Public methodStatic member FPDFText_FindStart
Public methodStatic member FPDFText_GetBoundedText
Public methodStatic member FPDFText_GetCharBox
Public methodStatic member FPDFText_GetCharIndexAtPos
Public methodStatic member FPDFText_GetCharIndexFromTextIndex
Public methodStatic member FPDFText_GetFontSize
Public methodStatic member FPDFText_GetRect
Public methodStatic member FPDFText_GetSchCount
Public methodStatic member FPDFText_GetSchResultIndex
Public methodStatic member FPDFText_GetText
Public methodStatic member FPDFText_GetTextIndexFromCharIndex
Public methodStatic member FPDFText_GetUnicode
Public methodStatic member FPDFText_LoadFont Returns a font object loaded from a stream of data. The font is loaded into the document. The caller does not need to free the returned object.
Public methodStatic member FPDFText_LoadPage
Public methodStatic member FPDFText_SetText
  Back to Top

See Also

Reference

PDFiumSharp Namespace

Clone this wiki locally