C# Class Smrf.NodeXL.ExcelTemplate.LegendControlBase.DrawingObjects

Contains objects used to draw the control.
One of these is created by CreateDrawingObjects and passed to the various drawing methods. It saves having to pass too many arguments, and having to modify multiple method signatures when a new drawing object is added in the future.
Mostra file Open project: 2014-sed-team3/term-project

Public Properties

Property Type Description
CenterAlignStringFormat System.Drawing.StringFormat
ControlRectangle System.Drawing.Rectangle
Font System.Drawing.Font
FontHeight System.Single
Graphics System.Drawing.Graphics
RightAlignStringFormat System.Drawing.StringFormat
TrimmingStringFormat System.Drawing.StringFormat

Public Methods

Method Description
GetFontHeightMultiple ( System.Single multiple ) : Int32

Method Details

GetFontHeightMultiple() public method

public GetFontHeightMultiple ( System.Single multiple ) : Int32
multiple System.Single
return System.Int32

Property Details

CenterAlignStringFormat public_oe property

StringFormat object for drawing centered text.
public StringFormat,System.Drawing CenterAlignStringFormat
return System.Drawing.StringFormat

ControlRectangle public_oe property

Rectangle to draw the control within.
public Rectangle,System.Drawing ControlRectangle
return System.Drawing.Rectangle

Font public_oe property

Font to use.
public Font,System.Drawing Font
return System.Drawing.Font

FontHeight public_oe property

Height of the font.
public Single,System FontHeight
return System.Single

Graphics public_oe property

Object to draw with.
public Graphics,System.Drawing Graphics
return System.Drawing.Graphics

RightAlignStringFormat public_oe property

StringFormat object for drawing right-aligned text.
public StringFormat,System.Drawing RightAlignStringFormat
return System.Drawing.StringFormat

TrimmingStringFormat public_oe property

StringFormat object for drawing trimmed text.
public StringFormat,System.Drawing TrimmingStringFormat
return System.Drawing.StringFormat