 | PdfiumFPDF_RenderPage Method |
Render contents in a page to a device (screen, bitmap, or printer). This function is only supported on Windows system.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDF_RenderPage(
IntPtr hdc,
IntPtr page,
int start_x,
int start_y,
int size_x,
int size_y,
PageRotate rotate,
RenderFlags flags
)
Public Shared Sub FPDF_RenderPage (
hdc As IntPtr,
page As IntPtr,
start_x As Integer,
start_y As Integer,
size_x As Integer,
size_y As Integer,
rotate As PageRotate,
flags As RenderFlags
)
public:
static void FPDF_RenderPage(
IntPtr hdc,
IntPtr page,
int start_x,
int start_y,
int size_x,
int size_y,
PageRotate rotate,
RenderFlags flags
)
static member FPDF_RenderPage :
hdc : IntPtr *
page : IntPtr *
start_x : int *
start_y : int *
size_x : int *
size_y : int *
rotate : PageRotate *
flags : RenderFlags -> unit
public static void FPDF_RenderPage(
IntPtr hdc,
IntPtr page,
int start_x,
int start_y,
int size_x,
int size_y,
PageRotate rotate,
RenderFlags flags
)
Patagames.Pdf.Pdfium.FPDF_RenderPage = function(hdc, page, start_x, start_y, size_x, size_y, rotate, flags);
Parameters
- hdc IntPtr
- Handle to device context
- page IntPtr
- Handle to the page. Returned by FPDF_LoadPage(IntPtr, Int32) function.
- start_x Int32
- Left pixel position of the display area in the device coordinate
- start_y Int32
- Top pixel position of the display area in the device coordinate
- size_x Int32
- Horizontal size (in pixels) for displaying the page.
- size_y Int32
- Vertical size (in pixels) for displaying the page
- rotate PageRotate
- Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise), 2 (rotated 180 degrees), 3 (rotated 90 degrees counter-clockwise)
- flags RenderFlags
- 0 for normal display, or combination of flags defined below
0x01 Set if annotations are to be rendered
0x02 Set if using text rendering optimized for LCD display
0x04 Set if you don't want to use GDI+
Applicable to desktop Windows systems only.
0x08 Grayscale output
0x80 Set if you want to get some debug info.
0x100 Set if you don't want to catch exception
See Also