PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
dest.h
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CXX_PDF_DEST_H_INCLUDED_
4#define PDFSDK_CXX_PDF_DEST_H_INCLUDED_
5
6#include <vector>
7
9
10#include "forward_declarations.h"
11#include "wrapper_base.h"
12
13namespace PDF {
14
23class Dest : public detail::RefCountedHandle<PDDest> {
24public:
30 static Dest CreateFromPdfObject(const Object& object);
31
37
43
49 size_t GetPageIndex() const;
50
55 std::vector<float> GetParams() const;
56
57 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(Dest, PDDest)
58};
59
60} // namespace PDF
61
62#include "dest_impl.inl"
63
64#endif // PDFSDK_CXX_PDF_DEST_H_INCLUDED_
Action API.
PDDestType
Defines a specific location (destination) within a PDF document that can be directly referenced or li...
Definition actions.h:32
Represents a destination in a PDF document.
Definition dest.h:23
static Dest CreateFromPdfObject(const Object &object)
Creates a destination from the PDF object.
std::vector< float > GetParams() const
Gets the parameters associated with the destination.
PDDestType GetDestType() const
Gets the type of the destination.
size_t GetPageIndex() const
Gets the page index associated with the destination.
Object GetPdfObject() const
Gets the destination PDF object.
Represents a PDF object.
Definition object.h:20