Accusoft PDF Xpress Control v5.0
RenderPageOptionsToDib Method
See Also  Send comments on this topic.
PageNumber
A long value which represents the page number.
pIRenderOptions
RenderOptions associated with the DIB.
PdfDocument Object : RenderPageOptionsToDib Method

Glossary Item Box

Description

Renders a page to a (DIB) Device Independent Bitmap at screen resolution.

Syntax

Visual Basic
Public Function RenderPageOptionsToDib( _
   ByVal PageNumber As Long, _
   ByVal pIRenderOptions As RenderOptions _
) As Long

Parameters

PageNumber
A long value which represents the page number.
pIRenderOptions
RenderOptions associated with the DIB.

Return Type

A long value which represents the DIB.

Remarks

This method creates an unmanaged GDI bitmap object. The object must specifically be deleted using the GlobalFree function in kernel32.dll.

Note: Copy protected rendering functionality is to be used only for viewing of copy protected PDF documents. This functionality should not be used to violate or bypass PDF file security measures which prevent copying or editing the PDF documents.

See Also

©2012. Accusoft Corporation. All Rights Reserved.