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.72.2

Syntax

C#
public FixedDocument ConvertToWpf(
	RenderSettings renderSettings,
	ConvertToWpfOptions convertOptions,
	int firstPageIndex,
	int lastPageIndex
)
Visual Basic
Public Function ConvertToWpf ( _
	renderSettings As RenderSettings, _
	convertOptions As ConvertToWpfOptions, _
	firstPageIndex As Integer, _
	lastPageIndex As Integer _
) 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).

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.

See Also