C# Class PurplePen.PrintArea

Inheritance: ICloneable
ファイルを表示 Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
autoPrintArea bool
pageHeight int
pageLandscape bool
pageMargins int
pageWidth int
printAreaRectangle System.Drawing.RectangleF
restrictToPageSize bool

Public Methods

Method Description
Clone ( ) : object
Equals ( object obj ) : bool
PrintArea ( ) : System
PrintArea ( bool autoPrintArea, bool restrictToPageSize, RectangleF printAreaRectangle, float scaleRatio = 1.0F ) : System
ReadAttributesAndContent ( XmlInput xmlinput ) : void
UpdateUnknownPageSize ( RectangleF mapBounds, float scaleRatio ) : void
WriteAttributesAndContent ( System xmloutput, int part = -1 ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

PrintArea() public method

public PrintArea ( ) : System
return System

PrintArea() public method

public PrintArea ( bool autoPrintArea, bool restrictToPageSize, RectangleF printAreaRectangle, float scaleRatio = 1.0F ) : System
autoPrintArea bool
restrictToPageSize bool
printAreaRectangle System.Drawing.RectangleF
scaleRatio float
return System

ReadAttributesAndContent() public method

public ReadAttributesAndContent ( XmlInput xmlinput ) : void
xmlinput XmlInput
return void

UpdateUnknownPageSize() public method

public UpdateUnknownPageSize ( RectangleF mapBounds, float scaleRatio ) : void
mapBounds System.Drawing.RectangleF
scaleRatio float
return void

WriteAttributesAndContent() public method

public WriteAttributesAndContent ( System xmloutput, int part = -1 ) : void
xmloutput System
part int
return void

Property Details

autoPrintArea public_oe property

public bool autoPrintArea
return bool

pageHeight public_oe property

public int pageHeight
return int

pageLandscape public_oe property

public bool pageLandscape
return bool

pageMargins public_oe property

public int pageMargins
return int

pageWidth public_oe property

public int pageWidth
return int

printAreaRectangle public_oe property

public RectangleF,System.Drawing printAreaRectangle
return System.Drawing.RectangleF

restrictToPageSize public_oe property

public bool restrictToPageSize
return bool