Click or drag to resize

PdfDestinationSetView Method

Sets the view and the view's parameters where parameters represent the following values depending on the viewType parameter:

FitRectangle
Left, Bottom, Right and Top.
LeftTopZoom
Left, Top and Zoom.
FitPageVertical and FitContentVertical
Left.
FitPageHorizontal and FitContentHorizontal
Top.
FitPage and FitContent
None.

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.6.18
Syntax
public void SetView(
	PdfDestinationViewType viewType,
	params double?[] parameters
)

Parameters

viewType  PdfDestinationViewType
Type of the view.
parameters  NullableDouble
The parameters of the view.
Exceptions
ExceptionCondition
ArgumentNullExceptionparameters is when they are required.
ArgumentExceptionThe number of passed parameters is not according to the documentation.
See Also