 | PdfPageExtensionStartProgressiveRender(PdfPage, PdfBitmap, Point, Size, PageRotate, RenderFlags, Byte) Method |
Start to render page contents to a device independent bitmap progressively specified by a location and size.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf.Gdi (in Patagames.Pdf.Gdi.dll) Version: 5.1.3
Syntaxpublic static ProgressiveStatus StartProgressiveRender(
this PdfPage page,
PdfBitmap bitmap,
Point location,
Size size,
PageRotate rotate,
RenderFlags flags,
byte[] userData
)
<ExtensionAttribute>
Public Shared Function StartProgressiveRender (
page As PdfPage,
bitmap As PdfBitmap,
location As Point,
size As Size,
rotate As PageRotate,
flags As RenderFlags,
userData As Byte()
) As ProgressiveStatus
public:
[ExtensionAttribute]
static ProgressiveStatus StartProgressiveRender(
PdfPage^ page,
PdfBitmap^ bitmap,
Point location,
Size size,
PageRotate rotate,
RenderFlags flags,
array<unsigned char>^ userData
)
[<ExtensionAttribute>]
static member StartProgressiveRender :
page : PdfPage *
bitmap : PdfBitmap *
location : Point *
size : Size *
rotate : PageRotate *
flags : RenderFlags *
userData : byte[] -> ProgressiveStatus /** @attribute ExtensionAttribute */
public static ProgressiveStatus StartProgressiveRender(
PdfPage page,
PdfBitmap bitmap,
Point location,
Size size,
PageRotate rotate,
RenderFlags flags,
byte[] userData
)
Patagames.Pdf.Net.PdfPageExtension.StartProgressiveRender = function(page, bitmap, location, size, rotate, flags, userData);
Parameters
- page PdfPage
- The page to render.
- bitmap PdfBitmap
- Instance of PdfBitmap class.
- location Point
- A Point structure that represents the Top-Left corner of the display area in the bitmap coordinate.
- size Size
- A Size structure that represents the horizontal and 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 above.
- userData Byte
- A user defined data pointer, used by user's application. Can be NULL.
Return Value
ProgressiveStatusRendering Status. See
ProgressiveRenderingStatuses for the details.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PdfPage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also