[]
Display the page designated by page, with its contents magnified just enough to fit the entire page within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the page within the window in the other dimension.
public class DestinationFit : Destination, IPdfArray, IDestination
Initializes a new instance of the DestinationFit class.
public DestinationFit(Page page)
page
PageThe target page.
Initializes a new instance of the DestinationFit class.
public DestinationFit(int pageIndex)
pageIndex
intThe target page index.