Click or drag to resize

Layout Class

Represents a layout.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADLayout

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class Layout

The Layout type exposes the following members.

Constructors
  NameDescription
Protected methodLayout
Initializes a new instance of the Layout class
Top
Properties
  NameDescription
Public propertyAngle
Get or set layout angle (Degree) of layout.
Public propertyDocument
Get the document associated with the layout.
Public propertyDrawing
Obtain the partial diagram associated with the layout.
Public propertyEnableScaleY
Get or set whether to activate magnification in Y direction.
Public propertyID
Get the ID of the layout.
Public propertyIndex
Gets or sets the index in the collection of layouts.
Public propertyIsCurrent
Get a value indicating whether it is the current layout.
Public propertyName
Get or set the name of the layout.
Public propertyOrigin
Gets or sets the placement point of the layout.
Public propertyParentDrawing
Get the parent part drawing of the layout.
Public propertyRegion
Gets or sets the region representing the layout range.
Public propertyScaleX
Get or set the magnification in the X direction of the layout.
Public propertyScaleXDenominator
Gets or sets the denominator of the magnification in the X direction of the layout.
Public propertyScaleXNumerator
Get or set the numerator of the magnification in the X direction of the layout.
Public propertyScaleY
Gets or sets the magnification in the Y direction of the layout.
Public propertyScaleYDenominator
Gets or sets the denominator of the magnification in the Y direction of the layout.
Public propertyScaleYNumerator
Get or set the numerator of the magnification in the Y direction of the layout.
Top
Methods
  NameDescription
Public methodConvertAngleLocalToWorld
Convert the angle from the local coordinate system to the world coordinate system.
Public methodConvertAngleWorldToLocal
Convert the angle from the world coordinate system to the local coordinate system.
Public methodConvertLengthLocalToWorld
Convert the length from the local coordinate system to the world coordinate system.
Public methodConvertLengthWorldToLocal
Convert the length from the world coordinate system to the local coordinate system.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveTo
Move the layout to the specified position.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransformPointLocalToWorld
Convert the coordinates from the local coordinate system to the world coordinate system.
Public methodTransformPointsLocalToWorld
Convert multiple coordinates from the local coordinate system to the world coordinate system.
Public methodTransformPointsWorldToLocal
Convert multiple coordinates from the world coordinate system to the local coordinate system.
Public methodTransformPointWorldToLocal
Convert the coordinates from the world coordinate system to the local coordinate system.
Public methodTransformShapeLocalToWorld
Convert geometry from local coordinate system to world coordinate system.
Public methodTransformShapesLocalToWorld
Convert multiple geometries from the local coordinate system to the world coordinate system.
Public methodTransformShapesWorldToLocal
Convert multiple geometries from world coordinate system to local coordinate system.
Public methodTransformShapeWorldToLocal
Convert geometry from world coordinate system to local coordinate system.
Top
See Also