Creates a WPF FixedDocument instance for this PDF document.
Namespace: TallComponents.PDF.RasterizerAssembly: TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.72.1
Syntax
| C# |
|---|
public FixedDocument ConvertToWpf( RenderSettings renderSettings, ConvertToWpfOptions convertOptions, int firstPageIndex, int lastPageIndex, Summary summary ) |
| Visual Basic |
|---|
Public Function ConvertToWpf ( _ renderSettings As RenderSettings, _ convertOptions As ConvertToWpfOptions, _ firstPageIndex As Integer, _ lastPageIndex As Integer, _ summary As Summary _ ) As FixedDocument |
Parameters
- renderSettings
- Type: TallComponents.PDF.Rasterizer.Configuration..::..RenderSettings
The rendersetting that will be used. These basically influence the graphical aspects of the result, such as the quality of the graphics, font mapping and which types of elements are converted.
- convertOptions
- Type: TallComponents.PDF.Rasterizer..::..ConvertToWpfOptions
The conversion options. These control coversion that are not covered by the rendersettings.
- firstPageIndex
- Type: System..::..Int32
The first page to convert (zero-based).
- lastPageIndex
- Type: System..::..Int32
The last page to convert (zero-based).
- summary
- Type: TallComponents.PDF.Rasterizer.Diagnostics..::..Summary
The summary to which diagnostics are written. This may be null
Return Value
A FixedDocument instance.
Remarks
Unlicensed versions of the software will only produce correct output for the
first page of a document. In order to avoid this effect, one may set the ConvertToImages
option of the convertOptions, at the cost of loosing resolution independence.