TrimMarkAnnotation.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/InteractiveFeatures/Annotations/CornerMarkAnnotation.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 namespace Annotations
12 {
13 class AnnotationSelector;
14 enum class AnnotationType;
15 enum class PrinterMarkCornerPosition;
16 } // namespace Annotations
17 class Page;
18 class Rectangle;
19 } // namespace Pdf
20 } // namespace Aspose
21 
22 namespace Aspose {
23 
24 namespace Pdf {
25 
26 namespace Annotations {
27 
33 {
36 
37  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
38  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
39 
40 public:
41 
45  ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType() override;
46 
56 
61  ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr<AnnotationSelector> visitor) override;
62 
63 protected:
64 
65  ASPOSE_PDF_SHARED_API double get_MarkLineLength() override;
66  ASPOSE_PDF_SHARED_API double get_MarkOffset() override;
67  ASPOSE_PDF_SHARED_API double get_DefaultMarkSize() override;
68  ASPOSE_PDF_SHARED_API System::SharedPtr<Rectangle> get_DesignatedPageBox() override;
69 
70  virtual ASPOSE_PDF_SHARED_API ~TrimMarkAnnotation();
71 
72 private:
73 
74  static const double RectangleSize;
75 
76 };
77 
78 } // namespace Annotations
79 } // namespace Pdf
80 } // namespace Aspose
81 
82 
PrinterMarkCornerPosition
Represents a position of a mark in a corner of a page.
Definition: PrinterMarkCornerPosition.h:13
Represents a Trim Mark annotation.
Definition: TrimMarkAnnotation.h:32
Represents annotation types that are placed in the corners of the printed page.
Definition: CornerMarkAnnotation.h:46
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
AnnotationType
Enumeration of annotation types.
Definition: AnnotationType.h:18
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
The coordinates are in the page coordinate context.
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()). ...
Definition: BaseParagraph.h:66
Whole PDF file will be submitted.