Class representing page of PDF document. More...
#include "Page.h"
Inherits System::IDisposable, Aspose::Pdf::ISupportsMemoryCleanup, and Aspose::Pdf::IOperatorContainer.
Public Types | |
using | BeforePageGenerate = System::MulticastDelegate< void(System::SharedPtr< Page >)> |
Procedure for customize header and footer. More... | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
Public Member Functions | |
ASPOSE_PDF_SHARED_API bool | get_IsAddParagraphsAfterLast () const |
Gets the addition of paragraphs after the last paragraph of the page More... | |
ASPOSE_PDF_SHARED_API void | set_IsAddParagraphsAfterLast (bool value) |
Sets the addition of paragraphs after the last paragraph of the page More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Image > | get_BackgroundImage () const |
Gets background image for page (for generator only, not filled in when reading document). More... | |
ASPOSE_PDF_SHARED_API void | set_BackgroundImage (System::SharedPtr< Image > value) |
Sets background image for page (for generator only, not filled in when reading document). More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::TocInfo > | get_TocInfo () const |
Gets table of contents info. More... | |
ASPOSE_PDF_SHARED_API void | set_TocInfo (System::SharedPtr< Aspose::Pdf::TocInfo > value) |
Sets table of contents info. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< HeaderFooter > | get_Header () const |
Gets page header. More... | |
ASPOSE_PDF_SHARED_API void | set_Header (System::SharedPtr< HeaderFooter > value) |
Sets page header. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Layer > > > | get_Layers () |
Gets layers collection. More... | |
ASPOSE_PDF_SHARED_API void | set_Layers (System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Layer >>> value) |
Sets layers collection. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< HeaderFooter > | get_Footer () const |
Gets page footer. More... | |
ASPOSE_PDF_SHARED_API void | set_Footer (System::SharedPtr< HeaderFooter > value) |
Sets page footer. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Paragraphs > | get_Paragraphs () |
Gets the paragraphs. More... | |
ASPOSE_PDF_SHARED_API void | set_Paragraphs (System::SharedPtr< Aspose::Pdf::Paragraphs > value) |
Gets the paragraphs. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::PageInfo > | get_PageInfo () |
Gets the page info (for generator only, not filled in when reading document). More... | |
ASPOSE_PDF_SHARED_API void | set_PageInfo (System::SharedPtr< Aspose::Pdf::PageInfo > value) |
Sets the page info (for generator only, not filled in when reading document). More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | get_Rect () |
Gets rectangle of the page. For get: page crop box is returned if specified, otherwise page media box is returned. For set: page media box always set. Please note that this property don't consider page rotation. To get page rectangle considering rotation please use ActualRect. More... | |
ASPOSE_PDF_SHARED_API void | set_Rect (System::SharedPtr< Aspose::Pdf::Rectangle > value) |
Sets rectangle of the page. For get: page crop box is returned if specified, otherwise page media box is returned. For set: page media box always set. Please note that this property don't consider page rotation. To get page rectangle considering rotation please use ActualRect. More... | |
ASPOSE_PDF_SHARED_API Aspose::Pdf::ColorType | get_ColorType () |
Sets color type of the pages based on information getting from operators SetColor, images and forms. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< GraphInfo > | get_NoteLineStyle () |
Gets the line style for notes.(for generator only, not filled in when reading document) More... | |
ASPOSE_PDF_SHARED_API void | set_NoteLineStyle (System::SharedPtr< GraphInfo > value) |
Sets the line style for notes.(for generator only, not filled in when reading document) More... | |
ASPOSE_PDF_SHARED_API Aspose::Pdf::TabOrder | get_TabOrder () |
Gets tab order of the page. Possible values: Row, Column. Default, Manual More... | |
ASPOSE_PDF_SHARED_API void | set_TabOrder (Aspose::Pdf::TabOrder value) |
Sets tab order of the page. Possible values: Row, Column. Default, Manual More... | |
ASPOSE_PDF_SHARED_API double | get_Duration () |
Gets of set page display duration. This is time in seconds that page shall be displayed during presentation. Returns -1 if duration is not defined. More... | |
ASPOSE_PDF_SHARED_API void | set_Duration (double value) |
Gets of set page display duration. This is time in seconds that page shall be displayed during presentation. Returns -1 if duration is not defined. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< OperatorCollection > | get_Contents () override |
Gets collection of operators in the content stream of the page. OperatorCollection More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Group > | get_Group () |
Gets a group attributes class specifying the attributes of the page's page group for use in the transparent imaging model. More... | |
ASPOSE_PDF_SHARED_API void | set_Group (System::SharedPtr< Aspose::Pdf::Group > value) |
Sets a group attributes class specifying the attributes of the page's page group for use in the transparent imaging model. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Annotations::AnnotationCollection > | get_Annotations () |
Gets collection of page annotations. Annotations More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Resources > | get_Resources () override |
Gets page resources. Resources object contains collections of images, forms and fonts. Resources More... | |
ASPOSE_PDF_SHARED_API Rotation | get_Rotate () |
Gets rotation of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_Rotate (Rotation value) |
Sets rotation of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | get_TrimBox () |
Gets trim box of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_TrimBox (System::SharedPtr< Aspose::Pdf::Rectangle > value) |
Sets trim box of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | get_ArtBox () |
Gets art box of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_ArtBox (System::SharedPtr< Aspose::Pdf::Rectangle > value) |
Sets art box of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | get_BleedBox () |
Gets bleed box of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_BleedBox (System::SharedPtr< Aspose::Pdf::Rectangle > value) |
Sets bleed box of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | get_CropBox () |
Gets crop box of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_CropBox (System::SharedPtr< Aspose::Pdf::Rectangle > value) |
Sets crop box of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | get_MediaBox () |
Gets media box of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_MediaBox (System::SharedPtr< Aspose::Pdf::Rectangle > value) |
Sets media box of the page. More... | |
ASPOSE_PDF_SHARED_API int32_t | get_Number () |
Get number of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Matrix > | get_RotationMatrix () |
Gets transofmation matrix for the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Color > | get_Background () |
Gets the background color of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_Background (System::SharedPtr< Color > value) |
Sets the background color of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Watermark > | get_Watermark () |
Gets the watermark of the page. More... | |
ASPOSE_PDF_SHARED_API void | set_Watermark (System::SharedPtr< Aspose::Pdf::Watermark > value) |
Sets the watermark of the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< ArtifactCollection > | get_Artifacts () |
Gets collection of artifacts on the page. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< PageActionCollection > | get_Actions () |
Gets collection of page properties. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< Forms::Field > > > | get_FieldsInTabOrder () |
Gets list of Field object in Tab order on this page. More... | |
ASPOSE_PDF_SHARED_API double | get_UserUnit () |
Gets UserUnit value. A positive number giving the size of default user space units, in multiples of 1 / 72 inch. Default value is 1. Please set zero or negative value in order to clear this entry in page. More... | |
ASPOSE_PDF_SHARED_API void | set_UserUnit (double value) |
Sets UserUnit value. A positive number giving the size of default user space units, in multiples of 1 / 72 inch. Default value is 1. Please set zero or negative value in order to clear this entry in page. More... | |
ASPOSE_PDF_SHARED_API void | MergeLayers (System::String newLayerName) |
Merges all layers on the page into a single layer with the specified new layer name. More... | |
ASPOSE_PDF_SHARED_API void | MergeLayers (System::String newLayerName, System::String newOptionalContentGroupId) |
Merges all layers on the page into a single layer with the specified new layer name and optional content group Id. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< System::IO::MemoryStream > | ConvertToPNGMemoryStream () |
Convert page to PNG for DSR, OMR, OCR image stream. More... | |
ASPOSE_PDF_SHARED_API void | AddGraphics (System::SharedPtr< Vector::GraphicElementCollection > elements, System::SharedPtr< Aspose::Pdf::Rectangle > rectangle=nullptr) |
Adds graphics to the page. Works faster than adding elements one by one with GraphicElement::AddOnPage(Page) method. More... | |
ASPOSE_PDF_SHARED_API void | DeleteGraphics (System::SharedPtr< Vector::GraphicElementCollection > elementsToDelete) |
Deletes graphics from the page. Works faster than deleting elements one by one with GraphicElement::Remove method. More... | |
ASPOSE_PDF_SHARED_API bool | TrySaveVectorGraphics (System::String pathToSave) |
Tries to save vector graphics if they are present on the page. The save format is SVG. More... | |
ASPOSE_PDF_SHARED_API bool | HasVectorGraphics () |
Detect of the presence of vector graphics, if it is present on the page. More... | |
ASPOSE_PDF_SHARED_API bool | IsBlank (double fillThresholdFactor) |
Gets the flag whether page is blank or not. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | GetPageRect (bool considerRotation) |
Returns rectangle of the page according to its CropBox (or MediaBox if CropBox null). More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > | CalculateContentBBox () |
Calculates bbox value - rectangle containing contents without visible margins. More... | |
ASPOSE_PDF_SHARED_API void | SendTo (System::SharedPtr< Devices::PageDevice > device, System::SharedPtr< System::IO::Stream > output) |
Sends page to process with given page device. More... | |
ASPOSE_PDF_SHARED_API void | Accept (System::SharedPtr< Annotations::AnnotationSelector > visitor) |
Accepts AnnotationSelector visitor object that provides functionality to work with annotations. More... | |
ASPOSE_PDF_SHARED_API void | AddStamp (System::SharedPtr< Stamp > stamp) |
Put stamp into page. Stamp can be page number, image or simple text, e.g. some logo. More... | |
ASPOSE_PDF_SHARED_API void | AddImage (System::SharedPtr< System::IO::Stream > imageStream, System::SharedPtr< Aspose::Pdf::Rectangle > imageRect) |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion. More... | |
ASPOSE_PDF_SHARED_API void | AddImage (System::String hocr, System::SharedPtr< System::IO::Stream > imageStream, System::SharedPtr< Aspose::Pdf::Rectangle > imageRect) |
Adds searchable image onto the page and locates it in the middle of specified rectangle saving image's proportion. More... | |
ASPOSE_PDF_SHARED_API void | AddImage (System::SharedPtr< System::IO::Stream > imageStream, System::SharedPtr< Aspose::Pdf::Rectangle > imageRect, int32_t imageWidth, int32_t imageHeight, bool saveImageProportions) |
Adds image on page and places it depend on image rectangle position. More... | |
ASPOSE_PDF_SHARED_API void | AddImage (System::String imagePath, System::SharedPtr< Aspose::Pdf::Rectangle > rectangle) |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion. More... | |
ASPOSE_PDF_SHARED_API void | SendTo (System::SharedPtr< Devices::PageDevice > device, System::String outputFileName) |
Sends page to process with given page device. More... | |
ASPOSE_PDF_SHARED_API void | Flatten () |
Removes all fields located on the page and place their values instead. More... | |
ASPOSE_PDF_SHARED_API void | Accept (System::SharedPtr< Text::TextFragmentAbsorber > visitor) |
Accepts TextFragmentAbsorber visitor object that provides functionality to work with text objects. More... | |
ASPOSE_PDF_SHARED_API void | Accept (System::SharedPtr< ImagePlacementAbsorber > visitor) |
Accepts ImagePlacementAbsorber visitor object that provides functionality to work with image placement objects. More... | |
ASPOSE_PDF_SHARED_API void | Accept (System::SharedPtr< Text::TextAbsorber > visitor) |
Accepts TextAbsorber visitor object that provides functionality to work with text objects. More... | |
ASPOSE_PDF_SHARED_API void | SetPageSize (double width, double height) |
Sets page size for page. More... | |
ASPOSE_PDF_SHARED_API void | Dispose () override |
Frees up memory More... | |
ASPOSE_PDF_SHARED_API void | MakeGrayscale () |
Converts the page to grayscale. More... | |
ASPOSE_PDF_SHARED_API void | FreeMemory () override |
Clears cached data More... | |
ASPOSE_PDF_SHARED_API System::String | GetNotifications () |
Returns notifications about inside operations with page content. (Only notifications about paragraph events in text adding scenarios are supported now.) More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< uint8_t > | AsByteArray (System::SharedPtr< Devices::Resolution > resolution) |
Converts current page as bitmap and than returns array of bytes. More... | |
ASPOSE_PDF_SHARED_API System::String | AsXml () |
Converts current page as xml in utf8 encoding. More... | |
ASPOSE_PDF_SHARED_API void | Resize (System::SharedPtr< PageSize > targetSize) |
Resizes the page. More... | |
Public Member Functions inherited from System::Object | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared reference counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More... | |
template<> | |
bool | Equals (double const &objA, double const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More... | |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
Specialization of Object::ReferenceEquals for case of string and nullptr. More... | |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Specialization of Object::ReferenceEquals for case of strings. More... | |
Static Public Member Functions | |
static ASPOSE_PDF_SHARED_API int32_t | RotationToInt (Rotation rotation) |
Translates rotation enumeration member into integer value. More... | |
static ASPOSE_PDF_SHARED_API Rotation | IntToRotation (int32_t rotation) |
Translates integer value into corresponding rotation enumeration member. More... | |
Static Public Member Functions inherited from System::Object | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
Public Attributes | |
System::Event< void(System::SharedPtr< Page >)> | OnBeforePageGenerate |
Event for customize header and footer. More... | |
Protected Member Functions | |
bool | get_IsDisposed () const |
bool | get_IsRowExceedPageMode () const |
void | set_IsRowExceedPageMode (bool value) |
double | get_IsRowExceedPageHeigth () const |
void | set_IsRowExceedPageHeigth (double value) |
bool | get_IsTextAddedOnPage () const |
Gets whether text is added on page. Value indicates if the text operators on the page have been changed. Need if we use ContentsAppender class to update contents. See PDFNET-47949. More... | |
void | set_IsTextAddedOnPage (bool value) |
Sets whether text is added on page. Value indicates if the text operators on the page have been changed. Need if we use ContentsAppender class to update contents. See PDFNET-47949. More... | |
double | get_CurY () const |
Gets page current Y coordinate. More... | |
void | set_CurY (double value) |
Sets page current Y coordinate. More... | |
bool | get_IgnoreAnnotationExceptions () const |
Determines should be exceptions ignored during processing of annotations. More... | |
void | set_IgnoreAnnotationExceptions (bool value) |
Determines should be exceptions ignored during processing of annotations. More... | |
bool | get_HasLayers () |
Quickly checks if there are any optional content layers on the page. More... | |
System::SharedPtr< PageCollection > | get_Pages () const |
Gets the pages collection. More... | |
void | set_Pages (System::SharedPtr< PageCollection > value) |
Gets the pages collection. More... | |
System::String | get_Id () const |
Gets the page id More... | |
void | set_Id (System::String value) |
Sets the page id More... | |
bool | get_HasAnnotations () |
Gets if an AnnotationCollection was created for the page. More... | |
System::SharedPtr< Aspose::Pdf::Rectangle > | get_Rectangle () |
bool | get_IsNoteMoreThanPage () const |
void | set_IsNoteMoreThanPage (bool value) |
int32_t | get___BadNumber () |
System::SharedPtr< Aspose::Pdf::ContentsAppender > | get_ContentsAppender () |
Gets current contents appender. ContentsAppender More... | |
void | _SetPageNumber (int32_t number) |
void | RemoveOptionalContentProperty (System::String name) |
Removes the optional content property with the specified name from the document. More... | |
void | RemoveOptionalContentPropertyFromXObject (System::String xObjectName) |
Removes the optional content property associated with the specified XObject from the document. More... | |
System::SharedPtr< Engine::Data::IPdfDictionary > | GetMarkedContentProperties () |
Returns page marked content properties dictionary. More... | |
void | ProcessHeaderFooters () |
Process header and footer. More... | |
void | SetPageInfo () |
void | ProcessParagraphs () |
Process generator paragraphs. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | Accept (System::SharedPtr< Aspose::Rendering::ApsNode > node, System::Drawing::RectangleF rectangle) |
Accepts ApsNode aps root node (page, canvas, path, etc) object that needed to add onto the page, the clipping feature is skipped. The content is added onto the page. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | Accept (System::SharedPtr< Aspose::Rendering::ApsNode > node, System::Drawing::RectangleF rectangle, bool useClipping) |
Accepts ApsNode aps root node (page, canvas, path, etc) object that needed to add onto the page with clipping feature. The content is added onto the page. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | Accept (System::SharedPtr< Aspose::Rendering::ApsNode > node, System::Drawing::RectangleF rectangle, bool useClipping, bool addContent) |
Accepts ApsNode aps root node (page, canvas, path, etc) object that needed to add onto the page. More... | |
System::SharedPtr< Aspose::Pdf::Rectangle > | GetRect () |
Returns rectangle of the page according to its CropBox and MediaBox; More... | |
void | InvalidateAnnotations () |
Page (System::SharedPtr< Engine::CommonData::IPage > page) | |
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Page, CODEPORTING_ARGS(System::SharedPtr< Engine::CommonData::IPage > page)) | |
System::SharedPtr< System::Collections::Generic::Dictionary< double, int32_t > > | GetTextRotationStatistic () |
Returns dictionary that contains frequencies for every unique rotation angle of text found. More... | |
void | UpdateContents () |
void | UpdateResources () |
Updates the resources. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | AddImage (System::SharedPtr< XImageAddingParams > addingParams, System::SharedPtr< Aspose::Pdf::Rectangle > rectangle, System::SharedPtr< CompositingParameters > compositingParameters) |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | AddImage (System::SharedPtr< XImageAddingParams > addingParams, System::SharedPtr< Aspose::Pdf::Rectangle > rectangle, System::SharedPtr< Matrix > rotationMatrix, System::SharedPtr< CompositingParameters > compositingParameters, System::SharedPtr< Engine::Data::IPdfObject > &pdfObject, bool isTagged=false, int32_t MCID=0) |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | AddImage (System::SharedPtr< XImageAddingParams > addingParams, System::SharedPtr< Aspose::Pdf::Rectangle > rectangle, System::SharedPtr< CompositingParameters > compositingParameters, bool addImage, System::SharedPtr< System::IO::Stream > predefinedStream=nullptr, bool isTagged=false, int32_t MCID=0) |
Adds image onto the page. More... | |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > | AddImage (System::SharedPtr< XImageAddingParams > addingParams, System::SharedPtr< Aspose::Pdf::Rectangle > rectangle, System::SharedPtr< Matrix > rotationMatrix, System::SharedPtr< CompositingParameters > compositingParameters, bool addImage, System::SharedPtr< Engine::Data::IPdfObject > &pdfObject, System::SharedPtr< System::IO::Stream > predefinedStream=nullptr, bool isTagged=false, int32_t MCID=0) |
Adds image onto the page. More... | |
void | Flatten4 (bool doRemoveFiedls) |
void | SetTransition (System::SharedPtr< Engine::Data::IPdfDictionary > transition) |
void | RemoveObjectReferences (System::String name) |
Remove references to XObject from page contents (i.e. all Do operators which use name of object). More... | |
bool | IsUsedOnPage (System::String name) |
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< System::Object > > > | FindReferences (System::String name) |
void | FillUsedObjectsTable (System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, int32_t >> usageTable, System::SharedPtr< Engine::Data::IPdfDictionary > CommonResources) |
void | DeleteUnusedResources (System::SharedPtr< Engine::Data::IPdfDictionary > resources, System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, int32_t >> usageTable) |
void | DeleteUnusedResources (System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, int32_t >> usageTable) |
void | ClearContents () |
void | RegisterObservation (System::String message) |
void | Serialize (System::SharedPtr< System::Xml::XmlTextWriter > writer) |
void | Deserialize (System::SharedPtr< System::Xml::XmlReader > reader) |
void | ReleaseResources () |
void | PreSave () |
void | RemoveTransparencyGroup () |
virtual ASPOSE_PDF_SHARED_API | ~Page () |
Static Protected Member Functions | |
static System::SharedPtr< Page > | GetNextPage (System::SharedPtr< Page > page) |
Get next page and apply defaults. More... | |
static void | PrintBackgroundImage (System::SharedPtr< Image > image, double width, double height, double curX, double curY, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators, System::SharedPtr< Page > page) |
static System::SharedPtr< Page > | ProcessPage (System::SharedPtr< Page > page) |
static void | RemoveObjectReferences (System::SharedPtr< OperatorCollection > contents, System::String name) |
static System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< System::Object > > > | FindReferences (System::SharedPtr< OperatorCollection > Contents, System::String name) |
Returns list of operators which uses resource with specified name. More... | |
Protected Attributes | |
bool | detached |
System::WeakPtr< Document > | _document |
System::SharedPtr< Engine::CommonData::IPage > | EnginePage |
Class representing page of PDF document.
using Aspose::Pdf::Page::BeforePageGenerate = System::MulticastDelegate<void(System::SharedPtr<Page>)> |
Procedure for customize header and footer.
///
page | The current page. |
|
protected |
|
protectedvirtual |
|
protected |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::Accept | ( | System::SharedPtr< Annotations::AnnotationSelector > | visitor | ) |
Accepts AnnotationSelector visitor object that provides functionality to work with annotations.
visitor | Annotation selector sobject. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::Accept | ( | System::SharedPtr< Text::TextFragmentAbsorber > | visitor | ) |
Accepts TextFragmentAbsorber visitor object that provides functionality to work with text objects.
visitor | Text absorber object. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::Accept | ( | System::SharedPtr< ImagePlacementAbsorber > | visitor | ) |
Accepts ImagePlacementAbsorber visitor object that provides functionality to work with image placement objects.
visitor | Image placement absorber object. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::Accept | ( | System::SharedPtr< Text::TextAbsorber > | visitor | ) |
Accepts TextAbsorber visitor object that provides functionality to work with text objects.
visitor | Text absorber object. |
|
protected |
Accepts ApsNode aps root node (page, canvas, path, etc) object that needed to add onto the page, the clipping feature is skipped. The content is added onto the page.
node | The aps root node object. |
rectangle | The size of area to add apps node object. |
|
protected |
Accepts ApsNode aps root node (page, canvas, path, etc) object that needed to add onto the page with clipping feature. The content is added onto the page.
node | The aps root node object. |
rectangle | The size of area to add apps node object. |
useClipping | The flag determines whether aps fragment is being clipped or not. |
|
protected |
Accepts ApsNode aps root node (page, canvas, path, etc) object that needed to add onto the page.
node | The aps root node object. |
rectangle | The size of area to add apps node object. |
useClipping | The flag determines whether aps fragment is being clipped or not. |
addContent | The flag determines whether aps fragment is being drawed or not. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::AddGraphics | ( | System::SharedPtr< Vector::GraphicElementCollection > | elements, |
System::SharedPtr< Aspose::Pdf::Rectangle > | rectangle = nullptr |
||
) |
Adds graphics to the page. Works faster than adding elements one by one with GraphicElement::AddOnPage(Page) method.
elements | Graphics collection. |
rectangle | Elements will be added to the page if it's
|
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::AddImage | ( | System::SharedPtr< System::IO::Stream > | imageStream, |
System::SharedPtr< Aspose::Pdf::Rectangle > | imageRect | ||
) |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.
imageStream | The stream of the image. |
imageRect | The position of the image. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::AddImage | ( | System::String | hocr, |
System::SharedPtr< System::IO::Stream > | imageStream, | ||
System::SharedPtr< Aspose::Pdf::Rectangle > | imageRect | ||
) |
Adds searchable image onto the page and locates it in the middle of specified rectangle saving image's proportion.
hocr | The hocr of the image. |
imageStream | The stream of the image. |
imageRect | The position of the image. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::AddImage | ( | System::SharedPtr< System::IO::Stream > | imageStream, |
System::SharedPtr< Aspose::Pdf::Rectangle > | imageRect, | ||
int32_t | imageWidth, | ||
int32_t | imageHeight, | ||
bool | saveImageProportions | ||
) |
Adds image on page and places it depend on image rectangle position.
imageStream | The stream of the image. |
imageRect | The default position of the image on page. |
imageWidth | The width of the image. |
imageHeight | The height of the image. |
saveImageProportions | If the flag set to true than image placed in rectangle position; otherwise, the size of rectange is becoming equal to image size. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::AddImage | ( | System::String | imagePath, |
System::SharedPtr< Aspose::Pdf::Rectangle > | rectangle | ||
) |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.
imagePath | The path to image. |
rectangle | The position of the image. |
|
protected |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.
addingParams | XImage adding parameters. |
rectangle | The position of the image. |
compositingParameters | The compositing parameters. |
|
protected |
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.
addingParams | XImage adding parameters. |
rectangle | The position of the image. |
rotationMatrix | The rotation matrix. |
compositingParameters | The compositing parameters. |
pdfObject | Returns the created image pdf object. |
|
protected |
Adds image onto the page.
addingParams | The stream of the image. |
rectangle | The position of the image. If the rectangle is the point image will be added in original size. |
compositingParameters | The compositing parameters. |
addImage | If true image will be added otherwise not. |
|
protected |
Adds image onto the page.
addingParams | XImage adding parameters. |
rectangle | The position of the image. If the rectangle is the point image will be added in original size. |
rotationMatrix | The rotation matrix. |
compositingParameters | The compositing parameters. |
addImage | If true image will be added otherwise not. |
pdfObject | Returns the created image pdf object. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::AddStamp | ( | System::SharedPtr< Stamp > | stamp | ) |
ASPOSE_PDF_SHARED_API System::ArrayPtr<uint8_t> Aspose::Pdf::Page::AsByteArray | ( | System::SharedPtr< Devices::Resolution > | resolution | ) |
Converts current page as bitmap and than returns array of bytes.
resolution | The resolution. |
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Page::AsXml | ( | ) |
Converts current page as xml in utf8 encoding.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::CalculateContentBBox | ( | ) |
Calculates bbox value - rectangle containing contents without visible margins.
|
protected |
ASPOSE_PDF_SHARED_API System::SharedPtr<System::IO::MemoryStream> Aspose::Pdf::Page::ConvertToPNGMemoryStream | ( | ) |
Convert page to PNG for DSR, OMR, OCR image stream.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::DeleteGraphics | ( | System::SharedPtr< Vector::GraphicElementCollection > | elementsToDelete | ) |
Deletes graphics from the page. Works faster than deleting elements one by one with GraphicElement::Remove method.
elementsToDelete | Graphics collection that will be deleted from the page. |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Frees up memory
Reimplemented from System::IDisposable.
|
protected |
|
protected |
|
staticprotected |
Returns list of operators which uses resource with specified name.
name |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::Flatten | ( | ) |
Removes all fields located on the page and place their values instead.
|
protected |
|
overridevirtual |
Clears cached data
Implements Aspose::Pdf::ISupportsMemoryCleanup.
|
protected |
ASPOSE_PDF_SHARED_API System::SharedPtr<PageActionCollection> Aspose::Pdf::Page::get_Actions | ( | ) |
Gets collection of page properties.
ASPOSE_PDF_SHARED_API System::SharedPtr<Annotations::AnnotationCollection> Aspose::Pdf::Page::get_Annotations | ( | ) |
Gets collection of page annotations. Annotations
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::get_ArtBox | ( | ) |
Gets art box of the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<ArtifactCollection> Aspose::Pdf::Page::get_Artifacts | ( | ) |
Gets collection of artifacts on the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<Color> Aspose::Pdf::Page::get_Background | ( | ) |
Gets the background color of the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<Image> Aspose::Pdf::Page::get_BackgroundImage | ( | ) | const |
Gets background image for page (for generator only, not filled in when reading document).
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::get_BleedBox | ( | ) |
Gets bleed box of the page.
ASPOSE_PDF_SHARED_API Aspose::Pdf::ColorType Aspose::Pdf::Page::get_ColorType | ( | ) |
Sets color type of the pages based on information getting from operators SetColor, images and forms.
|
overridevirtual |
Gets collection of operators in the content stream of the page. OperatorCollection
Implements Aspose::Pdf::IOperatorContainer.
|
protected |
Gets current contents appender. ContentsAppender
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::get_CropBox | ( | ) |
Gets crop box of the page.
|
protected |
Gets page current Y coordinate.
ASPOSE_PDF_SHARED_API double Aspose::Pdf::Page::get_Duration | ( | ) |
Gets of set page display duration. This is time in seconds that page shall be displayed during presentation. Returns -1 if duration is not defined.
ASPOSE_PDF_SHARED_API System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Forms::Field> > > Aspose::Pdf::Page::get_FieldsInTabOrder | ( | ) |
Gets list of Field object in Tab order on this page.
ASPOSE_PDF_SHARED_API System::SharedPtr<HeaderFooter> Aspose::Pdf::Page::get_Footer | ( | ) | const |
Gets page footer.
The page footer.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Group> Aspose::Pdf::Page::get_Group | ( | ) |
Gets a group attributes class specifying the attributes of the page's page group for use in the transparent imaging model.
|
protected |
Gets if an AnnotationCollection was created for the page.
|
protected |
Quickly checks if there are any optional content layers on the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<HeaderFooter> Aspose::Pdf::Page::get_Header | ( | ) | const |
Gets page header.
The page header.
|
protected |
Gets the page id
The page id.
|
protected |
Determines should be exceptions ignored during processing of annotations.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Page::get_IsAddParagraphsAfterLast | ( | ) | const |
Gets the addition of paragraphs after the last paragraph of the page
Value indicates whether paragraphs will be added after the last paragraph of the page. Paragraphs will be added after the last paragraph of the page if value is true.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Gets whether text is added on page. Value indicates if the text operators on the page have been changed. Need if we use ContentsAppender class to update contents. See PDFNET-47949.
ASPOSE_PDF_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Layer> > > Aspose::Pdf::Page::get_Layers | ( | ) |
Gets layers collection.
The layers collection.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::get_MediaBox | ( | ) |
Gets media box of the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<GraphInfo> Aspose::Pdf::Page::get_NoteLineStyle | ( | ) |
Gets the line style for notes.(for generator only, not filled in when reading document)
The note style.
ASPOSE_PDF_SHARED_API int32_t Aspose::Pdf::Page::get_Number | ( | ) |
Get number of the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::PageInfo> Aspose::Pdf::Page::get_PageInfo | ( | ) |
Gets the page info (for generator only, not filled in when reading document).
The page info.
|
protected |
Gets the pages collection.
The pages collection.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Paragraphs> Aspose::Pdf::Page::get_Paragraphs | ( | ) |
Gets the paragraphs.
The paragraphs.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::get_Rect | ( | ) |
Gets rectangle of the page. For get: page crop box is returned if specified, otherwise page media box is returned. For set: page media box always set. Please note that this property don't consider page rotation. To get page rectangle considering rotation please use ActualRect.
|
protected |
|
overridevirtual |
Gets page resources. Resources object contains collections of images, forms and fonts. Resources
Implements Aspose::Pdf::IOperatorContainer.
ASPOSE_PDF_SHARED_API Rotation Aspose::Pdf::Page::get_Rotate | ( | ) |
Gets rotation of the page.
ASPOSE_PDF_SHARED_API System::SharedPtr<Matrix> Aspose::Pdf::Page::get_RotationMatrix | ( | ) |
Gets transofmation matrix for the page.
ASPOSE_PDF_SHARED_API Aspose::Pdf::TabOrder Aspose::Pdf::Page::get_TabOrder | ( | ) |
Gets tab order of the page. Possible values: Row, Column. Default, Manual
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::TocInfo> Aspose::Pdf::Page::get_TocInfo | ( | ) | const |
Gets table of contents info.
The table of contents info - default null. If it set this page will contain table of contents.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::get_TrimBox | ( | ) |
Gets trim box of the page.
ASPOSE_PDF_SHARED_API double Aspose::Pdf::Page::get_UserUnit | ( | ) |
Gets UserUnit value. A positive number giving the size of default user space units, in multiples of 1 / 72 inch. Default value is 1. Please set zero or negative value in order to clear this entry in page.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Watermark> Aspose::Pdf::Page::get_Watermark | ( | ) |
Gets the watermark of the page.
|
protected |
Returns page marked content properties dictionary.
|
staticprotected |
Get next page and apply defaults.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Page::GetNotifications | ( | ) |
Returns notifications about inside operations with page content. (Only notifications about paragraph events in text adding scenarios are supported now.)
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::GetPageRect | ( | bool | considerRotation | ) |
Returns rectangle of the page according to its CropBox (or MediaBox if CropBox null).
considerRotation | If true then rotation of the page will be considered in rect calculation. |
|
protected |
Returns rectangle of the page according to its CropBox and MediaBox;
|
protected |
Returns dictionary that contains frequencies for every unique rotation angle of text found.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Page::HasVectorGraphics | ( | ) |
Detect of the presence of vector graphics, if it is present on the page.
|
static |
Translates integer value into corresponding rotation enumeration member.
rotation | Integer value to convert |
|
protected |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Page::IsBlank | ( | double | fillThresholdFactor | ) |
Gets the flag whether page is blank or not.
fillThresholdFactor | The fill threshold value that manages the sensitivity of detection. Should be equal or greater than 0.01. |
|
protected |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::MakeGrayscale | ( | ) |
Converts the page to grayscale.
|
protected |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::MergeLayers | ( | System::String | newLayerName | ) |
Merges all layers on the page into a single layer with the specified new layer name.
newLayerName | The name of the new layer after merging. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::MergeLayers | ( | System::String | newLayerName, |
System::String | newOptionalContentGroupId | ||
) |
|
protected |
|
staticprotected |
|
protected |
Process header and footer.
|
staticprotected |
|
protected |
Process generator paragraphs.
|
protected |
|
protected |
|
protected |
Remove references to XObject from page contents (i.e. all Do operators which use name of object).
name |
|
staticprotected |
|
protected |
Removes the optional content property with the specified name from the document.
name | The name of the optional content property to be removed. |
|
protected |
Removes the optional content property associated with the specified XObject from the document.
xObjectName | The name of the XObject whose optional content property will be removed. |
|
protected |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::Resize | ( | System::SharedPtr< PageSize > | targetSize | ) |
Resizes the page.
targetSize | The target size. |
|
static |
Translates rotation enumeration member into integer value.
rotation | Rotation enumeratioom member. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::SendTo | ( | System::SharedPtr< Devices::PageDevice > | device, |
System::SharedPtr< System::IO::Stream > | output | ||
) |
Sends page to process with given page device.
device | The device to process page. |
output | Result stream which is used with device to save its output. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::SendTo | ( | System::SharedPtr< Devices::PageDevice > | device, |
System::String | outputFileName | ||
) |
Sends page to process with given page device.
device | The device to process page. |
outputFileName | File which is used with device to save its output. |
|
protected |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_ArtBox | ( | System::SharedPtr< Aspose::Pdf::Rectangle > | value | ) |
Sets art box of the page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Background | ( | System::SharedPtr< Color > | value | ) |
Sets the background color of the page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_BackgroundImage | ( | System::SharedPtr< Image > | value | ) |
Sets background image for page (for generator only, not filled in when reading document).
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_BleedBox | ( | System::SharedPtr< Aspose::Pdf::Rectangle > | value | ) |
Sets bleed box of the page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_CropBox | ( | System::SharedPtr< Aspose::Pdf::Rectangle > | value | ) |
Sets crop box of the page.
|
protected |
Sets page current Y coordinate.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Duration | ( | double | value | ) |
Gets of set page display duration. This is time in seconds that page shall be displayed during presentation. Returns -1 if duration is not defined.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Footer | ( | System::SharedPtr< HeaderFooter > | value | ) |
Sets page footer.
The page footer.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Group | ( | System::SharedPtr< Aspose::Pdf::Group > | value | ) |
Sets a group attributes class specifying the attributes of the page's page group for use in the transparent imaging model.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Header | ( | System::SharedPtr< HeaderFooter > | value | ) |
Sets page header.
The page header.
|
protected |
Sets the page id
The page id.
|
protected |
Determines should be exceptions ignored during processing of annotations.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_IsAddParagraphsAfterLast | ( | bool | value | ) |
Sets the addition of paragraphs after the last paragraph of the page
Value indicates whether paragraphs will be added after the last paragraph of the page. Paragraphs will be added after the last paragraph of the page if value is true.
|
protected |
|
protected |
|
protected |
|
protected |
Sets whether text is added on page. Value indicates if the text operators on the page have been changed. Need if we use ContentsAppender class to update contents. See PDFNET-47949.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Layers | ( | System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Layer >>> | value | ) |
Sets layers collection.
The layers collection.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_MediaBox | ( | System::SharedPtr< Aspose::Pdf::Rectangle > | value | ) |
Sets media box of the page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_NoteLineStyle | ( | System::SharedPtr< GraphInfo > | value | ) |
Sets the line style for notes.(for generator only, not filled in when reading document)
The note style.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_PageInfo | ( | System::SharedPtr< Aspose::Pdf::PageInfo > | value | ) |
Sets the page info (for generator only, not filled in when reading document).
The page info.
|
protected |
Gets the pages collection.
The pages collection.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Paragraphs | ( | System::SharedPtr< Aspose::Pdf::Paragraphs > | value | ) |
Gets the paragraphs.
The paragraphs.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Rect | ( | System::SharedPtr< Aspose::Pdf::Rectangle > | value | ) |
Sets rectangle of the page. For get: page crop box is returned if specified, otherwise page media box is returned. For set: page media box always set. Please note that this property don't consider page rotation. To get page rectangle considering rotation please use ActualRect.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Rotate | ( | Rotation | value | ) |
Sets rotation of the page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_TabOrder | ( | Aspose::Pdf::TabOrder | value | ) |
Sets tab order of the page. Possible values: Row, Column. Default, Manual
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_TocInfo | ( | System::SharedPtr< Aspose::Pdf::TocInfo > | value | ) |
Sets table of contents info.
The table of contents info - default null. If it set this page will contain table of contents.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_TrimBox | ( | System::SharedPtr< Aspose::Pdf::Rectangle > | value | ) |
Sets trim box of the page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_UserUnit | ( | double | value | ) |
Sets UserUnit value. A positive number giving the size of default user space units, in multiples of 1 / 72 inch. Default value is 1. Please set zero or negative value in order to clear this entry in page.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::set_Watermark | ( | System::SharedPtr< Aspose::Pdf::Watermark > | value | ) |
Sets the watermark of the page.
|
protected |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Page::SetPageSize | ( | double | width, |
double | height | ||
) |
|
protected |
transition |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Page::TrySaveVectorGraphics | ( | System::String | pathToSave | ) |
Tries to save vector graphics if they are present on the page. The save format is SVG.
pathToSave | Output file |
|
protected |
|
protected |
Updates the resources.
|
protected |
|
protected |
|
protected |
System::Event<void(System::SharedPtr<Page>)> Aspose::Pdf::Page::OnBeforePageGenerate |
Event for customize header and footer.