Enumeration that represents fit mode.
Namespace: Spire.Pdf.GeneralAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public enum PdfDestinationMode
Public Enumeration PdfDestinationMode
public enum class PdfDestinationMode
type PdfDestinationMode
Members
Member | Value | Description |
---|---|---|
Location | 0 |
Display the page designated by page, with the coordinates (left, top) positioned
at the top-left corner of the window and the contents of the page magnified
by the factor zoom. A NULL value for any of the parameters left, top, or
zoom specifies that the current value of that parameter is to be retained unchanged.
A zoom value of 0 has the same meaning as a NULL value.
|
FitToPage | 1 |
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.
|
FitH | 2 |
Display the page designated by page, with the vertical coordinate top positioned
at the top edge of the window and the contents of the page magnified
just enough to fit the entire width of the page within the window.
|
FitR | 3 |
Display the page designated by page, with its contents magnified just enough
to fit the rectangle specified by the coordinates left,bottom,right,and top
entirely within the window both horizontally and vertically.
|