Page Methods

The Page type exposes the following members.

Methods
  NameDescription
Public methodAccept(AnnotationSelector)
Accepts AnnotationSelector visitor object that provides functionality to work with annotations.
Public methodAccept(ImagePlacementAbsorber)
Accepts ImagePlacementAbsorber visitor object that provides functionality to work with image placement objects.
Public methodAccept(TextAbsorber)
Accepts TextAbsorber visitor object that provides functionality to work with text objects.
Public methodAccept(TextFragmentAbsorber)
Accepts TextFragmentAbsorber visitor object that provides functionality to work with text objects.
Public methodAddImage(Stream, Rectangle)
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.
Public methodAddImage(String, Rectangle)
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.
Public methodAddImage(String, Stream, Rectangle)
Adds searchable image onto the page and locates it in the middle of specified rectangle saving image's proportion.
Public methodAddImage(Stream, Rectangle, Int32, Int32, Boolean)
Adds image on page and places it depend on image rectangle position.
Public methodAddStamp
Put stamp into page. Stamp can be page number, image or simple text, e.g. some logo.
Public methodAsByteArray
Converts current page as bitmap and than returns array of bytes.
Public methodAsXml
Converts current page as xml in utf8 encoding.
Public methodCalculateContentBBox
Calculates bbox value - rectangle containing contents without visible margins.
Public methodConvertToPNGMemoryStream
Public methodDispose
Frees up memory
Public methodEquals (Inherited from Object.)
Public methodFlatten
Removes all fields located on the page and place their values instead.
Public methodFreeMemory
Clears cached data
Public methodGetHashCode (Inherited from Object.)
Public methodGetNotifications
Returns notifications about inside operations with page content. (Only notifications about paragraph events in text adding scenarios are supported now.)
Public methodGetPageRect
Returns rectangle of the page.
Public methodGetType (Inherited from Object.)
Public methodStatic memberIntToRotation
Translates integer value into corresponding rotation enumeration member.
Public methodIsBlank
Gets the flag whether page is blank or not.
Public methodMakeGrayscale
Converts images on page as grayscaled.
Public methodStatic memberRotationToInt
Translates rotation enumeration member into integer value.
Public methodSendTo(PageDevice, Stream)
Sends page to process with given page device.
Public methodSendTo(PageDevice, String)
Sends page to process with given page device.
Public methodSetPageSize
Sets page size for page.
Public methodToString (Inherited from Object.)
See Also