Page Class

Contains elements that define a page in the document.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramPage

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.6.0.0 (20.6)
Syntax
public class Page : IDisposable

The Page type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAssociatedPage
The ID of the original drawing page that was marked up on separate markup overlays by reviewers of the drawing.
Public propertyBackground
A flag indicating if the page is a background page.
Public propertyBackPage
The page's background page.
Public propertyConnects
Contains a Connect element for each connection between two shapes in a drawing.
Public propertyID
The unique ID of the element within its parent element.
Public propertyName
The name of the element.
Public propertyNameU
The universal name of the element.
Public propertyPages
Page collection.
Public propertyPageSheet
Contains elements that define the page sheet for a Page or Master element.
Public propertyReviewerID
The ID of the reviewer associated with the markup overlay.
Public propertyShapes
Shape collection.
Public propertyViewCenterX
ViewCenterX and ViewCenterY specify a center point on a page that a new view (window) assumes when it is opened initially.
Public propertyViewCenterY
ViewCenterX and ViewCenterY specify a center point on a page that a new view (window) assumes when it is opened initially.
Public propertyViewScale
The default magnification factor to use when a new view (window) of the page is opened. For example, 1 = 100%; 1.5 = 150%, and so on.
Methods
  NameDescription
Public methodAddActiveXControl
Creates an Activex Control.
Public methodAddComment(Int64, String)
Adds comment to a shape with shape's id.
Public methodAddComment(Shape, String)
Adds comment to a shape.
Public methodAddComment(Double, Double, String)
Adds comment with defined PinX and PinY.
Public methodAddShape(Shape, String)
Adds shape created by master to specific page.
Public methodAddShape(Double, Double, String)
Adds shape created by master on page with defined PinX and PinY.
Public methodAddShape(Double, Double, Double, Double, Stream)
Public methodAddShape(Double, Double, Double, Double, String)
Adds shape created by master on page with defined PinX,PinY,Width and Height.
Public methodAddText
Adds Text with defined PinX and PinY.
Public methodApplyStyle
Applies style for full page.
Public methodAutoSpaceShapes
Auto space shapes
Public methodBringForward
Brings a shape,defined by ID, forward one position in the z-order.
Public methodBringToFront
Brings a shape,defined by ID, to the front of the z-order.
Public methodConnectShapesViaConnector(Int64, ConnectionPointPlace, Int64, ConnectionPointPlace, Int64)
Connect shapes via connector.
Public methodConnectShapesViaConnector(Shape, ConnectionPointPlace, Shape, ConnectionPointPlace, Shape)
Connect shapes via connector.
Public methodConnectShapesViaConnectorIndex(Int64, Int32, Int64, Int32, Int64)
Connect shapes via connector index.
Public methodConnectShapesViaConnectorIndex(Shape, Int32, Shape, Int32, Shape)
Connect shapes via connector index.
Public methodCopy
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodDrawBezier
The process of drawing bezier. The length of points should be equal or greater than 3.
Public methodDrawEllipse
The process of drawing Ellipse.
Public methodDrawLine
The process of drawing line.
Public methodDrawPolyline
The process of drawing polyline.
Public methodDrawSpline
The process of drawing spline.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGlueShapes(Int64, ConnectionPointPlace, Int64)
Glue shapes
Public methodGlueShapes(Shape, ConnectionPointPlace, Shape)
Glue shapes.
Public methodGlueShapesInContainer(Int64, Int32, Int32, Int64)
Glue shapes in container
Public methodGlueShapesInContainer(Int64, String, String, Int64)
Glue shapes in container using connection name
Public methodGlueShapesInContainerByID
Glue shapes by connetion id in container
Public methodLayout
Lays out the shapes and/or reroutes the connectors for the page.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMoveTo
Moves the page to another location in the pages.
Public methodSendBackward
Moves a shape,defined by ID, back one position in the z-order.
Public methodSendToBack
Moves a shape,defined by ID, to the back of the z-order.
Public methodToString (Inherited from Object.)
See Also