 | PdfDestinationCreateFitBH 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 its bounding box within the window.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static PdfDestination CreateFitBH(
PdfDocument document,
int pageIndex,
float? top = null
)
Public Shared Function CreateFitBH (
document As PdfDocument,
pageIndex As Integer,
Optional top As Single? = Nothing
) As PdfDestination
public:
static PdfDestination^ CreateFitBH(
PdfDocument^ document,
int pageIndex,
Nullable<float> top = nullptr
)
static member CreateFitBH :
document : PdfDocument *
pageIndex : int *
?top : Nullable<float32>
(* Defaults:
let _top = defaultArg top null
*)
-> PdfDestination public static PdfDestination CreateFitBH(
PdfDocument document,
int pageIndex,
float? top = null
)
Patagames.Pdf.Net.PdfDestination.CreateFitBH = 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