PdfFocusToImages(String, String, String) Method |
Saves all pages of PDF document as image files and returns their full paths.
Namespace: SautinSoftAssembly: SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 2025.3.20
Syntaxpublic int ToImages(
string outFolder,
string templateFileName,
out string[] outputFileNames
)
Public Function ToImages (
outFolder As String,
templateFileName As String,
<OutAttribute> ByRef outputFileNames As String()
) As Integer
Parameters
- outFolder String
- Full path to existing folder where to save images.
- templateFileName String
- Template file name for image files.
- outputFileNames String
- An array with full paths to the produced image files.
Return Value
Int32
0 - saving successfully
2 - can't create output file, check the output path
3 - saving failed, email to
support@sautinsoft.com
Remarks
Also you can image properties using the property
ImageOptions.
For example, set:
Dpi - image resolution in dots per inch.
See Also