BleedMarkAnnotation.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 
36 {
39 
40  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
41  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
42 
43 public:
44 
48  ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType() override;
49 
59 
64  ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr<AnnotationSelector> visitor) override;
65 
66 protected:
67 
68  ASPOSE_PDF_SHARED_API double get_MarkLineLength() override;
69  ASPOSE_PDF_SHARED_API double get_MarkOffset() override;
70  ASPOSE_PDF_SHARED_API double get_DefaultMarkSize() override;
71  ASPOSE_PDF_SHARED_API System::SharedPtr<Rectangle> get_DesignatedPageBox() override;
72 
78  ASPOSE_PDF_SHARED_API bool IsOutsideOfPageBox() override;
79 
80  virtual ASPOSE_PDF_SHARED_API ~BleedMarkAnnotation();
81 
82 private:
83 
84  static const double RectangleSize;
85 
86 };
87 
88 } // namespace Annotations
89 } // namespace Pdf
90 } // namespace Aspose
91 
92 
PrinterMarkCornerPosition
Represents a position of a mark in a corner of a page.
Definition: PrinterMarkCornerPosition.h:13
Represents a Bleed Mark annotation.
Definition: BleedMarkAnnotation.h:35
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.