 | PdfDestinationCreateFitH Method |
Create new destination that display the page designated by pageIndex,
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.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static PdfDestination CreateFitH(
PdfDocument document,
int pageIndex,
float? top = null
)
Public Shared Function CreateFitH (
document As PdfDocument,
pageIndex As Integer,
Optional top As Single? = Nothing
) As PdfDestination
public:
static PdfDestination^ CreateFitH(
PdfDocument^ document,
int pageIndex,
Nullable<float> top = nullptr
)
static member CreateFitH :
document : PdfDocument *
pageIndex : int *
?top : Nullable<float32>
(* Defaults:
let _top = defaultArg top null
*)
-> PdfDestination
public static PdfDestination CreateFitH(
PdfDocument document,
int pageIndex,
float? top = null
)
Patagames.Pdf.Net.PdfDestination.CreateFitH = function(document, pageIndex, top);
Parameters
- document PdfDocument
- Document which contains this destination. Null for remote document.
- pageIndex Int32
- The zero-based index of the page to be displayed by this destination.
- top NullableSingle (Optional)
- The y coordinate.
Return Value
PdfDestinationAn instance of the
PdfDestination class initialized with the specified parameters.
Remarks
A null value for top specifies that the current value of that parameter is to be retained unchanged.
See Also