THPDFNamesFacade.AddNamedDestination Method
Tilføjer en navngivet destination, der kan tilgås via navngivne destinationslinks
Deklaration
procedure AddNamedDestination(const Name: AnsiString; PageIndex: Integer; FitMode: THPDFDestinationFitMode = dfmFit; Left: Single = 0; Top: Single = 0; Right: Single = 0; Bottom: Single = 0; Zoom: Single = 0);
Enhed
HPDFDoc
Parametre
| Navn | Formål |
|---|---|
Name | Destinationsnavn, der tilføjes til dokumentets navnetræ |
PageIndex | Nul-baseret side, som destinationen hopper til |
FitMode | Sidens tilpasningstilstand (se THPDFDestinationFitMode); standard er dfmFit |
Left, Top, Right, Bottom | Positionskoordinater, der anvendes af de positionsafhængige tilpasningstilstande; standard er 0 |
Zoom | Zoomfaktor, der anvendes af dfmXYZ; standard er 0 |
Brugsnoter
- Videresender til THotPDF.RegisterNamedDestination
- Ret mod disse destinationer med THPDFPage.AddNamedDestinationLink