In This Article

DefaultPrinterViewMarginFactory Class

The default factory implementation that creates IPrinterViewMargin objects for use within an IPrinterView.

public class DefaultPrinterViewMarginFactory : IPrinterViewMarginFactory
Inheritance:
System.Object Object
Implements:
IPrinterViewMarginFactory

Constructors

DefaultPrinterViewMarginFactory()

public DefaultPrinterViewMarginFactory()

Methods

CreateMargins(IPrinterView)

Creates the collection of IPrinterViewMargin objects to place within a IPrinterView.

public virtual IPrinterViewMarginCollection CreateMargins(IPrinterView view)
Parameter Type Description
view IPrinterView

The IPrinterView that will host the margins.

Returns

IPrinterViewMarginCollection:

A IPrinterViewMarginCollection containing the IPrinterViewMargin objects that were created.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()