Saves PDF document page as image,Set PdfImageType and image Dpi
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public Image SaveAsImage( int pageIndex, PdfImageType type, int dpiX, int dpiY )
Public Function SaveAsImage ( pageIndex As Integer, type As PdfImageType, dpiX As Integer, dpiY As Integer ) As Image
public: Image^ SaveAsImage( int pageIndex, PdfImageType type, int dpiX, int dpiY )
member SaveAsImage : pageIndex : int * type : PdfImageType * dpiX : int * dpiY : int -> Image
Parameters
- pageIndex
- Int32
Page index
- type
- PdfImageType
PdfImageType type
- dpiX
- Int32
Pictures X resolution
- dpiY
- Int32
Pictures Y resolution
Return Value
ImageReturns page as Image