 | PdfDestinationCreateXYZ Method |
Create new destination that display the page designated by pageIndex,
with the coordinates (left, top) positioned at the upper-left corner of the window
and the contents of the page magnified by the factor zoom
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static PdfDestination CreateXYZ(
PdfDocument document,
int pageIndex,
float? left = null,
float? top = null,
float? zoom = null
)
Public Shared Function CreateXYZ (
document As PdfDocument,
pageIndex As Integer,
Optional left As Single? = Nothing,
Optional top As Single? = Nothing,
Optional zoom As Single? = Nothing
) As PdfDestination
public:
static PdfDestination^ CreateXYZ(
PdfDocument^ document,
int pageIndex,
Nullable<float> left = nullptr,
Nullable<float> top = nullptr,
Nullable<float> zoom = nullptr
)
static member CreateXYZ :
document : PdfDocument *
pageIndex : int *
?left : Nullable<float32> *
?top : Nullable<float32> *
?zoom : Nullable<float32>
(* Defaults:
let _left = defaultArg left null
let _top = defaultArg top null
let _zoom = defaultArg zoom null
*)
-> PdfDestination
public static PdfDestination CreateXYZ(
PdfDocument document,
int pageIndex,
float? left = null,
float? top = null,
float? zoom = null
)
Patagames.Pdf.Net.PdfDestination.CreateXYZ = function(document, pageIndex, left, top, zoom);
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.
- left NullableSingle (Optional)
- The x coordinate.
- top NullableSingle (Optional)
- The y coordinate.
- zoom NullableSingle (Optional)
- The zoom factor
Return Value
PdfDestinationAn instance of the
PdfDestination class initialized with the specified parameters.
Remarks
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.
See Also