PageParams Class

This class stores the printing page size and margins. All values are specified in millimeters.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GraphicsSystemPageParams

Namespace: Teigha.GraphicsSystem
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class PageParams : DisposableWrapper

The PageParams type exposes the following members.

Constructors
  Name Description
Public method PageParams Default constructor for the PageParams class. Constructs an object with the following characteristics: * Paper width of the page = 210 * Paper height of the page = 297 * Left margin of the page = 0 * Right margin of the page = 0 * Top margin of the page = 0 * Bottom margin of the page = 0
Public method PageParams(PageParams) Copy constructor for the PageParams class. Copies the input page parameters.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property BottomMargin Property that represents page bottom margin in mm.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property LeftMargin Property that represents page left margin in mm.
Public property PaperHeight Property that represents page height in mm.
Public property PaperWidth Property that represents page width in mm.
Public property RightMargin Property that represents page right margin in mm.
Public property TopMargin Property that represents page top margin in mm.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method scale Scales the page parameters by the specified scale factor.
Public method setParams(Double, Double) Sets the width and height of the page.
Public method setParams(Double, Double, Double, Double, Double, Double) Sets the page parameters.
Public method ToString
(Inherited from Object)
Top
See Also

©  Bricsys NV. All rights reserved.