[]
Represents a page in a GcPdfDocument.
public class Page : PdfDictWrapper, IContentItem, IPdfDict
Public Class Page
Inherits PdfDictWrapper
Implements IContentItem, IPdfDict
Name | Description |
---|---|
Annotations | Gets the list annotations associated with the current page. |
AnnotationsTabsOrder | Gets or sets the tab order to be used for annotations on the page. |
ArtBox | Gets or sets a rectangle, in points, defining the extent of the page's meaningful content (including potential white space) as intended by the page's creator. Default value is CropBox. |
ArticleBeads | Gets the list of ArticleBead objects displayed on this page. |
AssociatedFiles | Gets the list of embedded files associated with this page. |
BleedBox | Gets or sets a rectangle, in points, defining the region to which the contents of the page should be clipped when output in a production environment. Default value is CropBox. |
Bounds | Gets the bounds of the current page in points. The return value is the same as returned by MediaBox. |
ContentStreams | Gets the PageContentStreamCollection containing content streams representing content of this page. Note that while manipulating the ContentStreams collection (inserting, removing or moving elements) is allowed, the result of such manipulations may produce an invalid PDF if the original document was created or modified by a tool other than GcPdf. Generally speaking, it is safe to insert new content streams at the first position in the collection, or add them to the end of it, provided any content in the new stream(s) was created by rendering on GetGraphics(Page). Any other operations on this collection in documents that were not created by GcPdf might yield invalid PDFs. |
CropBox | Gets or sets a rectangle, in points, defining the visible region of default user space. When the page is displayed or printed, its contents are to be clipped (cropped) to this rectangle and then imposed on the output medium in some implementation-defined manner. Default value is MediaBox. |
Doc | Gets the GcPdfDocument object owning this object. |
Graphics | Gets an instance of GcPdfGraphics that can be used to draw on the current page, graphics created from the last page content stream, if ContentStreams collection is empty then new PageContentStream automatically added. |
Index | Gets the index of the page in its document. |
Landscape | Gets or sets a value indicating whether the current page has landscape orientation. |
MediaBox | Gets or sets the bounds of the page in points. |
Owner | Gets the PageCollection collection containing this Page. |
PaperKind | Gets or sets the paper kind of the current page. |
PieceInfo | Gets the IPdfDict object defining page-piece dictionary associated with the page. |
Rotate | Gets or sets the number of degrees by which the page should be rotated clockwise when displayed or printed. The value must be a multiple of 90. Default value: 0. |
Size | Gets or sets the size of the current page in points. This property is a wrapper around MediaBox or CropBox properties. If CropBox is not null then this property gets or sets its value, otherwise it gets or sets the value of MediaBox. |
Tag | Gets or sets an arbitrary application-defined object associated with the current page. |
TransitionDuration | Gets or sets the page’s display duration (also called its advance timing): the maximum length of time, in seconds, that the page shall be displayed during presentations before the viewer application shall automatically advance to the next page Default: null (the viewer shall not advance automatically). |
TransitionEffect | Gets or sets the TransitionEffect object describing the transition effect that shall be used when displaying the page during presentations |
TrimBox | Gets or sets a rectangle, in points, defining the intended dimensions of the finished page after trimming Default value is CropBox. |
UserUnit | Gets or sets a positive number greater than 1 giving the size of default user space units, in multiples of 1/72 inch. Default value: 1.0 (user unit is 1/72 inch). |
Name | Description |
---|---|
AdjustCoordinates(Quadrilateral, bool, float, float) | Converts specified visual coordinates (usually in the coordinate system with the origin
in the top left corner of the page and the Y axis going down, see This method should be used when positioning annotations or destinations on a page. Do not use this method when drawing on Graphics. |
AdjustCoordinates(PointF, bool, float, float) | Converts specified visual coordinates (usually in the coordinate system with the origin
in the top left corner of the page and the Y axis going down, see This method should be used when positioning annotations or destinations on a page. Do not use this method when drawing on Graphics. |
AdjustCoordinates(RectangleF, bool, float, float) | Converts specified visual coordinates (usually in the coordinate system with the origin
in the top left corner of the page and the Y axis going down, see This method should be used when positioning annotations or destinations on a page. Do not use this method when drawing on Graphics. |
DeleteText(FindTextParams, DeleteTextMode) | Deletes a specified text from the current page. |
DeleteText(ViewState, TextMapFragment, DeleteTextMode) | Deletes the specified text range from the current page. |
DeleteText(TextMapFragment, DeleteTextMode) | Deletes the specified text range from the current page. |
Draw(GcGraphics, RectangleF, ViewState, bool, bool, RenderingCache, bool, DrawAnnotationFilterCallback) | Draws the page on a GcGraphics. |
Draw(GcGraphics, RectangleF, bool, bool, RenderingCache, bool, bool) | Draws the page on a GcGraphics. |
DrawAnnotations(GcGraphics, RectangleF, RenderingCache) | Draws all page annotations on a GcGraphics. |
DrawAnnotations(GcGraphics, RectangleF, IList<AnnotationBase>, ViewState, RenderingCache, bool, DrawAnnotationFilterCallback) | Draws specified annotations on a GcGraphics. Note that the specified annotations must belong to the current page. |
DrawAnnotations(GcGraphics, RectangleF, IList<AnnotationBase>, RenderingCache, bool) | Draws specified annotations on a GcGraphics. Note that the specified annotations must belong to the current page. |
GetImages(float, float) | Gets the list of images on this page. |
GetImages(float, float, bool) | Gets the list of images on this page. |
GetLabel() | Returns the page label specified via PageLabelingRange, returns empty string if page does not belong to document. |
GetOperators(ViewState, float, float, bool) | Returns the list of PDF operators forming the page content. |
GetPageLabelingRange() | Gets the PageLabelingRange object that specifies the label of this page, or null if no such range exists. |
GetRenderSize(float, float) | Gets the size of the page on a device with specified horizontal and vertical resolutions. |
GetStream() | Gets a Stream containing the content of this Page. Notes:
|
GetTable(RectangleF, ViewState, TableExtractOptions, float, float, bool) | Tries to recognize a table within specified bounds, if the table is found returns an object that allows accessing the table's rows, columns and cells. |
GetTable(RectangleF, TableExtractOptions, float, float, bool) | Tries to recognize a table within specified bounds, if the table is found returns an object that allows accessing the table's rows, columns and cells. |
GetText(ViewState, bool) | Retrieves all text on the current page. |
GetText(bool) | Retrieves all text on the current page. |
GetTextMap(ViewState, bool, float, float, bool) | Builds and returns a text map for the current page.
Note that the X/Y resolutions of pixels used by the text map's methods and properties are the
X/Y resolutions passed to this method ( Note also that the current value of the RecognitionAlgorithm property affects the map that is created. |
GetTextMap(ViewState, float, float, bool) | Builds and returns a text map for the current page.
Note that the X/Y resolutions of pixels used by the text map's methods and properties are the
X/Y resolutions passed to this method ( Note also that the current value of the RecognitionAlgorithm property affects the map that is created. |
GetTextMap(bool, float, float, bool) | Builds and returns a text map for the current page.
Note that the X/Y resolutions of pixels used by the text map's methods and properties are the
X/Y resolutions passed to this method ( Note also that the current value of the RecognitionAlgorithm property affects the map that is created. |
GetTextMap(float, float, bool) | Builds and returns a text map for the current page.
Note that the X/Y resolutions of pixels used by the text map's methods and properties are the
X/Y resolutions passed to this method ( Note also that the current value of the RecognitionAlgorithm property affects the map that is created. |
GetUsedFonts() | Gets the list of fonts referenced from content streams on this page. |
GetUserToDeviceMatrix(float, float, bool) | Returns the matrix used to convert coordinates in content stream of this page to device coordinates. |
RemoveLayersContent(params OptionalContentGroup[]) | Removes the content associated with specified PDF layers. Note that if any content was removed from a page by this method, all remaining content on that page will be merged into a single content stream, and the ContentStreams collection will contain just that single element. |
ReplaceText(FindTextParams, string, Font, float?) | Replaces a specified text on the current page. Note that the results may be affected by the current value of the RecognitionAlgorithm property. |
ReplaceText(ViewState, TextMapFragment, string, Font, float?) | Replaces a specified text range on the current page. |
ReplaceText(TextMapFragment, string, Font, float?) | Replaces a specified text range on the current page. |
SaveAsBmp(Stream, ViewState, SaveAsImageOptions) | Saves the page as an image to a stream in BMP format. |
SaveAsBmp(Stream, SaveAsImageOptions) | Saves the page as an image to a stream in BMP format. |
SaveAsBmp(string, ViewState, SaveAsImageOptions) | Saves the page as an image to a file in BMP format. |
SaveAsBmp(string, SaveAsImageOptions) | Saves the page as an image to a file in BMP format. |
SaveAsGif(Stream, ViewState, SaveAsImageOptions) | Saves the page as an image to a stream in GIF format. |
SaveAsGif(Stream, SaveAsImageOptions) | Saves the page as an image to a stream in GIF format. |
SaveAsGif(string, ViewState, SaveAsImageOptions) | Saves the page as an image to a file in GIF format. |
SaveAsGif(string, SaveAsImageOptions) | Saves the page as an image to a file in GIF format. |
SaveAsJpeg(Stream, ViewState, SaveAsImageOptions) | Saves the page as an image to a stream in JPEG format. |
SaveAsJpeg(Stream, SaveAsImageOptions) | Saves the page as an image to a stream in JPEG format. |
SaveAsJpeg(string, ViewState, SaveAsImageOptions) | Saves the page as an image to a file in JPEG format. |
SaveAsJpeg(string, SaveAsImageOptions) | Saves the page as an image to a file in JPEG format. |
SaveAsPng(Stream, ViewState, SaveAsImageOptions) | Saves the page as an image to a stream in PNG format. |
SaveAsPng(Stream, SaveAsImageOptions) | Saves the page as an image to a stream in PNG format. |
SaveAsPng(string, ViewState, SaveAsImageOptions) | Saves the page as an image to a file in PNG format. |
SaveAsPng(string, SaveAsImageOptions) | Saves the page as an image to a file in PNG format. |
SaveAsSvg(Stream, ViewState, SaveAsImageOptions, XmlWriterSettings) | Saves the page to a stream in SVG format. |
SaveAsSvg(Stream, SaveAsImageOptions, XmlWriterSettings) | Saves the page to a stream in SVG format. |
SaveAsSvg(string, ViewState, SaveAsImageOptions, XmlWriterSettings) | Saves the page to a file in SVG format. |
SaveAsSvg(string, SaveAsImageOptions, XmlWriterSettings) | Saves the page to a file in SVG format. |
SaveAsTiff(Stream, ViewState, SaveAsImageOptions, TiffFrameSettings) | Saves the page as an image to a stream in TIFF format. |
SaveAsTiff(Stream, SaveAsImageOptions, TiffFrameSettings) | Saves the page as an image to a stream in TIFF format. |
SaveAsTiff(string, ViewState, SaveAsImageOptions, TiffFrameSettings) | Saves the page as an image to a file in TIFF format. |
SaveAsTiff(string, SaveAsImageOptions, TiffFrameSettings) | Saves the page as an image to a file in TIFF format. |
ToSvgz(ViewState, SaveAsImageOptions) | Saves the page to a byte array in SVGZ format. |
ToSvgz(SaveAsImageOptions) | Saves the page to a byte array in SVGZ format. |