Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class

In This Topic
    Page Class Methods
    In This Topic

    For a list of all members of this type, see Page members.

    Public Methods
     NameDescription
    Public MethodOverloaded. 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 fromBottomLeft) to coordinates that take into account Rotate, CropBox and MediaBox (if CropBox is not specified) values.

    This method should be used when positioning annotations or destinations on a page. Do not use this method when drawing on Graphics.

     
    Public MethodOverloaded. Deletes a specified text from the current page.  
    Public MethodOverloaded. Draws 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 MethodOverloaded. Gets 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 MethodReturns the list of PDF operators forming the page content.  
    Public MethodGets the PageLabelingRange object that specifies the label of this page, or null if no such range exists.  
    Public MethodGets the System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    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 MethodOverloaded. 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.  
    Public MethodOverloaded. Retrieves all text on the current page.  
    Public MethodOverloaded. 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 (dpiX and dpiY).

    Note also that the current value of the RecognitionAlgorithm property affects the map that is created.

     
    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 MethodRemoves 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.

     
    Public MethodOverloaded. Replaces a specified text on the current page.

    Note that the results may be affected by the current value of the GrapeCity.Documents.Pdf.Recognition.RecognitionAlgorithm property.

     
    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 to a stream in SVG format.  
    Public MethodOverloaded. Saves the page as an image to a stream in TIFF format.  
    Public MethodOverloaded. Saves the page to a byte array in SVGZ format.  
    Top
    See Also