Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class
Properties Methods

In This Topic
    Page Class Members
    In This Topic

    The following tables list the members exposed by Page.

    Public Properties
     NameDescription
    Public PropertyGets the list annotations associated with the current page.  
    Public PropertyGets or sets the tab order to be used for annotations on the page.  
    Public PropertyGets 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.  
    Public PropertyGets the list of GrapeCity.Documents.Pdf.Articles.ArticleBead objects displayed on this page.  
    Public PropertyGets the list of embedded files associated with this page.  
    Public PropertyGets 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.  
    Public PropertyGets the bounds of the current page in points. The return value is the same as returned by MediaBox.  
    Public PropertyGets 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 PageContentStream.GetGraphics. Any other operations on this collection in documents that were not created by GcPdf might yield invalid PDFs.

     
    Public PropertyGets 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.  
    Public PropertyGets the GcPdfDocument object owning this object.  
    Public PropertyGets 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.  
    Public PropertyGets the index of the page in its document.  
    Public PropertyGets or sets a value indicating whether the current page has landscape orientation.  
    Public PropertyGets or sets the bounds of the page in points.  
    Public PropertyGets the PageCollection collection containing this Page.  
    Public PropertyGets or sets the paper kind of the current page.  
    Public PropertyGets 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.  
    Public PropertyGets or sets the size of the current page in points.  
    Public PropertyGets or sets an arbitrary application-defined object associated with the current page.  
    Public PropertyGets 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).  
    Public PropertyGets or sets the TransitionEffect object describing the transition effect that shall be used when displaying the page during presentations  
    Public PropertyGets or sets a rectangle, in points, defining the intended dimensions of the finished page after trimming Default value is CropBox.  
    Public PropertyGets 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).

     
    Top
    Public Methods
     NameDescription
    Public MethodDraws the page on a GrapeCity.Documents.Drawing.GcGraphics.  
    Public MethodOverloaded. Draws specified annotations on a GrapeCity.Documents.Drawing.GcGraphics.

    Note that the specified annotations must belong to the current page.

     
    Public MethodGets the list of images on this page.  
    Public MethodReturns the page label specified via PageLabelingRange, returns empty string if page does not belong to document.  
    Public MethodGets the PageLabelingRange object that specifies the label of this page, or null if no such range exists.  
    Public MethodGets the size of the page on a device with specified horizontal and vertical resolutions.  
    Public MethodGets a System.IO.Stream containing the content of this Page.

    Notes:

    1. The stream returned by this method should be disposed after use.
    2. This method can return null if the current page is empty.
    3. In sequential generate mode this method is not supported and will throw an exception.
     
    Public MethodRetrieves all text on the current page.  
    Public MethodBuilds and returns a GrapeCity.Documents.Pdf.TextMap.ITextMap for this page.  
    Public MethodGets the list of fonts referenced from content streams on this page.  
    Public MethodReturns the matrix used to convert coordinates in content stream of this page to device coordinates.  
    Public MethodOverloaded. Saves the page as an image to a stream in BMP format.  
    Public MethodOverloaded. Saves the page as an image to a stream in GIF format.  
    Public MethodOverloaded. Saves the page as an image to a stream in JPEG format.  
    Public MethodOverloaded. Saves the page as an image to a stream in PNG format.  
    Public MethodOverloaded. Saves the page as an image to a stream in TIFF format.  
    Top
    See Also