In This Article

DefaultPrinterViewMarginFactory Class

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

public class DefaultPrinterViewMarginFactory : IPrinterViewMarginFactory
Inheritance:
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