 | PdfDestinationCreateFitB Method |
Create new destination that display the page designated by pageIndex, with its contents magnified
just enough to fit its bounding box entirely within the window both horizontally and vertically.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static PdfDestination CreateFitB(
PdfDocument document,
int pageIndex
)
Public Shared Function CreateFitB (
document As PdfDocument,
pageIndex As Integer
) As PdfDestination
public:
static PdfDestination^ CreateFitB(
PdfDocument^ document,
int pageIndex
)
static member CreateFitB :
document : PdfDocument *
pageIndex : int -> PdfDestination
public static PdfDestination CreateFitB(
PdfDocument document,
int pageIndex
)
Patagames.Pdf.Net.PdfDestination.CreateFitB = function(document, pageIndex);
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.
Return Value
PdfDestinationAn instance of the
PdfDestination class initialized with the specified parameters.
Remarks
If the required horizontal and vertical magnification factors are different, use the smaller of the two,
centering the bounding box within the window in the other dimension.
See Also