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.
Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
GetFontHeightMultiple ( System.Single multiple ) : Int32

Method Details

GetFontHeightMultiple() public méthode

public GetFontHeightMultiple ( System.Single multiple ) : Int32
multiple System.Single
Résultat System.Int32

Property Details

CenterAlignStringFormat public_oe property

StringFormat object for drawing centered text.
public StringFormat,System.Drawing CenterAlignStringFormat
Résultat System.Drawing.StringFormat

ControlRectangle public_oe property

Rectangle to draw the control within.
public Rectangle,System.Drawing ControlRectangle
Résultat System.Drawing.Rectangle

Font public_oe property

Font to use.
public Font,System.Drawing Font
Résultat System.Drawing.Font

FontHeight public_oe property

Height of the font.
public Single,System FontHeight
Résultat System.Single

Graphics public_oe property

Object to draw with.
public Graphics,System.Drawing Graphics
Résultat System.Drawing.Graphics

RightAlignStringFormat public_oe property

StringFormat object for drawing right-aligned text.
public StringFormat,System.Drawing RightAlignStringFormat
Résultat System.Drawing.StringFormat

TrimmingStringFormat public_oe property

StringFormat object for drawing trimmed text.
public StringFormat,System.Drawing TrimmingStringFormat
Résultat System.Drawing.StringFormat