com.aspose.note

Class ExtendedApsPage

  • java.lang.Object
    • com.aspose.foundation.rendering.ApsNode
      • com.aspose.foundation.rendering.ApsCompositeNode
        • com.aspose.foundation.rendering.ApsPage
          • com.aspose.note.ExtendedApsPage
  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.foundation.rendering.ApsNode>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.foundation.rendering.ApsNode>, Iterable<com.aspose.foundation.rendering.ApsNode>


    public class ExtendedApsPage
    extends com.aspose.foundation.rendering.ApsPage
    implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.foundation.rendering.ApsNode>

    Represents a wrapper for the standard ApsGlyphs, which extends some of the drawing behavior.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ExtendedApsPage(com.aspose.ms.System.Drawing.SizeF pageSize, float pageStartInNotePage, com.aspose.foundation.layout.Margin margin)
      Initializes a new instance of the ExtendedApsPage class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.aspose.ms.System.Drawing.SizeF getContentSize()
      Gets the page size excluding margins.
      com.aspose.foundation.layout.Margin getMargin()
      Gets margin of this page.
      float getPageEndInNotePage()
      Gets the position of the page end, in the MS OneNote page, when one MS OneNote page is divided into several aps Pages.
      com.aspose.ms.System.Drawing.SizeF getPageSize()
      Gets the final page size.
      float getPageStartInNotePage()
      Gets the position of the page start in the MS OneNote page, when one MS OneNote page is divided into several aps Pages.
      com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
      The get enumerator.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.foundation.rendering.ApsNode> iterator()
      Returns the enumerator that iterates through the all nodes from this page.
      • Methods inherited from class com.aspose.foundation.rendering.ApsPage

        accept, disposeIt, getHeight, getHeightPixels, getPaperTray, getSize, getWidth, getWidthPixels, isEndPage, setEndPage, setSize
      • Methods inherited from class com.aspose.foundation.rendering.ApsCompositeNode

        add, addRange, clear, get_Item, getCount, insert, remove
      • Methods inherited from class com.aspose.foundation.rendering.ApsNode

        getAttributes, getId, getParent, setId, setParent
    • Constructor Detail

      • ExtendedApsPage

        public ExtendedApsPage(com.aspose.ms.System.Drawing.SizeF pageSize,
                               float pageStartInNotePage,
                               com.aspose.foundation.layout.Margin margin)

        Initializes a new instance of the ExtendedApsPage class.

        Parameters:
        pageSize - The page size.
        pageStartInNotePage - The page start in the original MS OneNote page.
        margin - The extended page margin.
    • Method Detail

      • getContentSize

        public com.aspose.ms.System.Drawing.SizeF getContentSize()

        Gets the page size excluding margins.

      • getPageEndInNotePage

        public float getPageEndInNotePage()

        Gets the position of the page end, in the MS OneNote page, when one MS OneNote page is divided into several aps Pages.

      • getPageSize

        public com.aspose.ms.System.Drawing.SizeF getPageSize()

        Gets the final page size.

      • getPageStartInNotePage

        public float getPageStartInNotePage()

        Gets the position of the page start in the MS OneNote page, when one MS OneNote page is divided into several aps Pages.

      • getMargin

        public com.aspose.foundation.layout.Margin getMargin()

        Gets margin of this page.

      • iterator

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.foundation.rendering.ApsNode> iterator()

        Returns the enumerator that iterates through the all nodes from this page.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.foundation.rendering.ApsNode>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<com.aspose.foundation.rendering.ApsNode>
        Specified by:
        iterator in interface Iterable<com.aspose.foundation.rendering.ApsNode>
        Returns:
        The IEnumerator.
      • iterator_Rename_Namesake

        public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()

        The get enumerator.

        Returns:
        The IEnumerator.