-
Notifications
You must be signed in to change notification settings - Fork 62
M_PDFiumSharp_PDFium_FPDFBitmap_FillRect
ArgusMagnus edited this page Apr 4, 2017
·
3 revisions
Fill a rectangle in a bitmap.
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0
C#
public static void FPDFBitmap_FillRect(
FPDF_BITMAP bitmap,
int left,
int top,
int width,
int height,
FPDF_COLOR color
)
- bitmap
- Type: PDFiumSharp.Types.FPDF_BITMAP
The handle to the bitmap. - left
- Type: System.Int32
The left position. Starting from 0 at the left-most pixel. - top
- Type: System.Int32
The top position. Starting from 0 at the top-most line. - width
- Type: System.Int32
Width in pixels to be filled. - height
- Type: System.Int32
Height in pixels to be filled. - color
- Type: PDFiumSharp.Types.FPDF_COLOR
This function sets the color and (optionally) alpha value in the specified region of the bitmap. NOTE: If the alpha channel is used, this function does NOT composite the background with the source color, instead the background will be replaced by the source color and the alpha. If the alpha channel is not used, the alpha parameter is ignored.
PDFium Class
PDFiumSharp Namespace
PDFiumBitmap.FillRectangle(Int32, Int32, Int32, Int32, FPDF_COLOR)
PDFiumBitmap.Fill(FPDF_COLOR)
PDFium Documentation
Send comments on this topic to [](mailto:?Subject=PDFium Documentation)
- PDFiumSharp Library
- Version History
-
PDFiumSharp Namespaces
-
PDFiumSharp Namespace
- ActionTypes Enumeration
- BitmapFormats Enumeration
- DocumentPermissions Enumeration
- DuplexTypes Enumeration
- FlattenFlags Enumeration
- FlattenResults Enumeration
- FontTypes Enumeration
- MetadataTags Enumeration
- PageModes Enumeration
- PageOrientations Enumeration
- PathFillModes Enumeration
- PdfAction Class
- PdfBookmark Class
- PdfDestination Class
- PdfDestinationCollection Class
-
PdfDocument Class
- PdfDocument Constructor
-
PdfDocument Properties
- PdfDocument.Bookmarks Property
- PdfDocument.Destinations Property
- PdfDocument.DuplexType Property
- PdfDocument.FileVersion Property
- PdfDocument.PageMode Property
- PdfDocument.Pages Property
- PdfDocument.Permissions Property
- PdfDocument.PrintCopyCount Property
- PdfDocument.PrintPrefersScaling Property
- PdfDocument.SecurityHandlerRevision Property
- PdfDocument Methods
-
PDFium Class
- PDFium Properties
-
PDFium Methods
- PDFium.FPDF_CloseDocument Method
- PDFium.FPDF_ClosePage Method
- PDFium.FPDF_CopyViewerPreferences Method
- PDFium.FPDF_CountNamedDests Method
- PDFium.FPDF_CreateClipPath Method
- PDFium.FPDF_CreateNewDocument Method
- PDFium.FPDF_DestroyClipPath Method
- PDFium.FPDF_DestroyLibrary Method
- PDFium.FPDF_DeviceToPage Method
- PDFium.FPDF_GetDocPermissions Method
- PDFium.FPDF_GetFileVersion Method
- PDFium.FPDF_GetLastError Method
- PDFium.FPDF_GetMetaText Method
- PDFium.FPDF_GetNamedDest Method
- PDFium.FPDF_GetNamedDestByName Method
- PDFium.FPDF_GetPageCount Method
- PDFium.FPDF_GetPageHeight Method
- PDFium.FPDF_GetPageSizeByIndex Method
- PDFium.FPDF_GetPageWidth Method
- PDFium.FPDF_GetSecurityHandlerRevision Method
- PDFium.FPDF_ImportPages Method
- PDFium.FPDF_InitLibrary Method
- PDFium.FPDF_InitLibraryWithConfig Method
- PDFium.FPDF_LoadCustomDocument Method
- PDFium.FPDF_LoadDocument Method
- PDFium.FPDF_LoadPage Method
- PDFium.FPDF_PageToDevice Method
- PDFium.FPDF_RenderPage_Close Method
- PDFium.FPDF_RenderPage_Continue Method
- PDFium.FPDF_RenderPageBitmap Method
- PDFium.FPDF_RenderPageBitmap_Start Method
- PDFium.FPDF_RenderPageBitmapWithMatrix Method
- PDFium.FPDF_SaveAsCopy Method
- PDFium.FPDF_SaveWithVersion Method
- PDFium.FPDF_StructElement_CountChildren Method
- PDFium.FPDF_StructElement_GetAltText Method
- PDFium.FPDF_StructElement_GetChildAtIndex Method
- PDFium.FPDF_StructTree_Close Method
- PDFium.FPDF_StructTree_CountChildren Method
- PDFium.FPDF_StructTree_GetChildAtIndex Method
- PDFium.FPDF_StructTree_GetForPage Method
- PDFium.FPDF_VIEWERREF_GetDuplex Method
- PDFium.FPDF_VIEWERREF_GetNumCopies Method
- PDFium.FPDF_VIEWERREF_GetPrintPageRange Method
- PDFium.FPDF_VIEWERREF_GetPrintScaling Method
- PDFium.FPDFAction_GetDest Method
- PDFium.FPDFAction_GetFilePath Method
- PDFium.FPDFAction_GetType Method
- PDFium.FPDFAction_GetURIPath Method
- PDFium.FPDFBitmap_Create Method
- PDFium.FPDFBitmap_CreateEx Method
- PDFium.FPDFBitmap_Destroy Method
- PDFium.FPDFBitmap_FillRect Method
- PDFium.FPDFBitmap_GetBuffer Method
- PDFium.FPDFBitmap_GetHeight Method
- PDFium.FPDFBitmap_GetStride Method
- PDFium.FPDFBitmap_GetWidth Method
- PDFium.FPDFBookmark_Find Method
- PDFium.FPDFBookmark_GetAction Method
- PDFium.FPDFBookmark_GetDest Method
- PDFium.FPDFBookmark_GetFirstChild Method
- PDFium.FPDFBookmark_GetNextSibling Method
- PDFium.FPDFBookmark_GetTitle Method
- PDFium.FPDFDest_GetLocationInPage Method
- PDFium.FPDFDest_GetPageIndex Method
- PDFium.FPDFDoc_GetPageMode Method
- PDFium.FPDFImageObj_LoadJpegFile Method
- PDFium.FPDFImageObj_SetBitmap Method
- PDFium.FPDFImageObj_SetMatrix Method
- PDFium.FPDFLink_CloseWebLinks Method
- PDFium.FPDFLink_CountQuadPoints Method
- PDFium.FPDFLink_CountRects Method
- PDFium.FPDFLink_CountWebLinks Method
- PDFium.FPDFLink_Enumerate Method
- PDFium.FPDFLink_GetAction Method
- PDFium.FPDFLink_GetAnnotRect Method
- PDFium.FPDFLink_GetDest Method
- PDFium.FPDFLink_GetLinkAtPoint Method
- PDFium.FPDFLink_GetLinkZOrderAtPoint Method
- PDFium.FPDFLink_GetQuadPoints Method
- PDFium.FPDFLink_GetRect Method
- PDFium.FPDFLink_GetURL Method
- PDFium.FPDFLink_LoadWebLinks Method
- PDFium.FPDFPage_CountObject Method
- PDFium.FPDFPage_Delete Method
- PDFium.FPDFPage_Flatten Method
- PDFium.FPDFPage_GenerateContent Method
- PDFium.FPDFPage_GetCropBox Method
- PDFium.FPDFPage_GetMediaBox Method
- PDFium.FPDFPage_GetObject Method
- PDFium.FPDFPage_GetRotation Method
- PDFium.FPDFPage_HasTransparency Method
- PDFium.FPDFPage_InsertClipPath Method
- PDFium.FPDFPage_InsertObject Method
- PDFium.FPDFPage_New Method
- PDFium.FPDFPage_SetCropBox Method
- PDFium.FPDFPage_SetMediaBox Method
- PDFium.FPDFPage_SetRotation Method
- PDFium.FPDFPage_TransformAnnots Method
- PDFium.FPDFPage_TransFormWithClip Method
- PDFium.FPDFPageObj_CreateNewPath Method
- PDFium.FPDFPageObj_CreateNewRect Method
- PDFium.FPDFPageObj_HasTransparency Method
- PDFium.FPDFPageObj_NewImageObj Method
- PDFium.FPDFPageObj_NewTextObj Method
- PDFium.FPDFPageObj_Transform Method
- PDFium.FPDFPageObj_TransformClipPath Method
- PDFium.FPDFPath_BezierTo Method
- PDFium.FPDFPath_Close Method
- PDFium.FPDFPath_LineTo Method
- PDFium.FPDFPath_MoveTo Method
- PDFium.FPDFPath_SetDrawMode Method
- PDFium.FPDFPath_SetFillColor Method
- PDFium.FPDFPath_SetStrokeColor Method
- PDFium.FPDFPath_SetStrokeWidth Method
- PDFium.FPDFText_ClosePage Method
- PDFium.FPDFText_CountChars Method
- PDFium.FPDFText_CountRects Method
- PDFium.FPDFText_FindClose Method
- PDFium.FPDFText_FindNext Method
- PDFium.FPDFText_FindPrev Method
- PDFium.FPDFText_FindStart Method
- PDFium.FPDFText_GetBoundedText Method
- PDFium.FPDFText_GetCharBox Method
- PDFium.FPDFText_GetCharIndexAtPos Method
- PDFium.FPDFText_GetCharIndexFromTextIndex Method
- PDFium.FPDFText_GetFontSize Method
- PDFium.FPDFText_GetRect Method
- PDFium.FPDFText_GetSchCount Method
- PDFium.FPDFText_GetSchResultIndex Method
- PDFium.FPDFText_GetText Method
- PDFium.FPDFText_GetTextIndexFromCharIndex Method
- PDFium.FPDFText_GetUnicode Method
- PDFium.FPDFText_LoadFont Method
- PDFium.FPDFText_LoadPage Method
- PDFium.FPDFText_SetText Method
- PDFiumBitmap Class
- PDFiumException Class
- PdfPage Class
- PdfPageCollection Class
- PinnedGCHandle Structure
- RenderingExtensionsGdiPlus Class
- RenderingExtensionsWpf Class
- RenderingExtensionsXwt Class
- RenderingFlags Enumeration
- RenderingStatus Enumeration
- SaveFlags Enumeration
- SearchFlags Enumeration
-
PDFiumSharp.Types Namespace
- FileReadBlockHandler Delegate
- FileWriteBlockHandler Delegate
- FPDF_ACTION Structure
- FPDF_BITMAP Structure
- FPDF_BOOKMARK Structure
- FPDF_CLIPPATH Structure
- FPDF_COLOR Structure
- FPDF_DEST Structure
- FPDF_DOCUMENT Structure
- FPDF_ERR Enumeration
- FPDF_ERR_Extension Class
- FPDF_FILEREAD Class
- FPDF_FILEWRITE Class
- FPDF_FONT Structure
- FPDF_LIBRARY_CONFIG Structure
- FPDF_LINK Structure
- FPDF_PAGE Structure
- FPDF_PAGELINK Structure
- FPDF_PAGEOBJECT Structure
- FPDF_PAGERANGE Structure
- FPDF_RECORDER Structure
- FPDF_SCHHANDLE Structure
- FPDF_STRINGHANDLE Structure
- FPDF_STRUCTELEMENT Structure
- FPDF_STRUCTTREE Structure
- FPDF_TEXTPAGE Structure
- FPDF_WIDGET Structure
- FS_MATRIX Structure
- FS_QUADPOINTSF Structure
- FS_RECTF Structure
- IFSDK_PAUSE Class
- IHandle(T) Interface
- NativeWrapper(T) Class
-
PDFiumSharp Namespace