←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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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