DocumentConvertToWpf Method (RenderSettings, ConvertToWpfOptions, Int32, Int32, Summary)
Creates a WPF FixedDocument instance for this PDF document.

Namespace:  TallComponents.PDF.Rasterizer
Assembly:  TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.157.0
Syntax
public FixedDocument ConvertToWpf(
	RenderSettings renderSettings,
	ConvertToWpfOptions convertOptions,
	int firstPageIndex,
	int lastPageIndex,
	Summary summary
)

Parameters

renderSettings
Type: TallComponents.PDF.Rasterizer.ConfigurationRenderSettings
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.RasterizerConvertToWpfOptions
The conversion options. These control coversion that are not covered by the rendersettings.
firstPageIndex
Type: SystemInt32
The first page to convert (zero-based).
lastPageIndex
Type: SystemInt32
The last page to convert (zero-based).
summary
Type: TallComponents.PDF.Rasterizer.DiagnosticsSummary
The summary to which diagnostics are written. This may be null

Return Value

Type: FixedDocument
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.
See Also