←Select platform

GetImageRect Method

Summary

Creates an image from a PDF document page.

Syntax
C#
C++/CLI
Python
public void GetImageRect( 
   RasterImage image, 
   int pageNumber, 
   double xDpi, 
   double yDpi, 
   PDFRect rect 
) 
public:  
   void GetImageRect( 
      RasterImage^ image, 
      Int32 pageNumber, 
      double xDpi, 
      double yDpi, 
      PDFRect^ rect 
   ) 
def GetImageRect(self,image,pageNumber,xDpi,yDpi,rect): 

Parameters

image

Initialized RasterImage to store the image. The source rect will be resized to fill the image.

pageNumber

Page number to render.

xDpi

The horizontal dots per inch to render.

yDpi

The vertical dots per inch to render.

rect

The bounding rectangle of the source image, in pixels.

Requirements

Target Platforms

Help Version 22.0.2023.7.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.