C# Class ComponentFactory.Krypton.Toolkit.RenderStandard.StandardContentMemento

Internal help class used to store content rendering details.
Inheritance: IDisposable
ファイルを表示 Open project: ComponentFactory/Krypton

Public Properties

Property Type Description
DrawImage bool
DrawLongText bool
DrawShortText bool
Image Image
ImageRect System.Drawing.Rectangle
ImageTransparentColor Color
LongTextHint TextRenderingHint
LongTextMemento AccurateTextMemento
LongTextRect System.Drawing.Rectangle
LongTextTrimming PaletteTextTrim
Orientation VisualOrientation
ShortTextHint TextRenderingHint
ShortTextMemento AccurateTextMemento
ShortTextRect System.Drawing.Rectangle
ShortTextTrimming PaletteTextTrim

Public Methods

Method Description
AdjustForOrientation ( VisualOrientation orientation, Rectangle displayRect ) : void

Adjust the memento values to apply an orientation.

Dispose ( ) : void

Dispose of resources.

StandardContentMemento ( ) : System

Inititialize a new instance of the StandardContentMemento class.

Private Methods

Method Description
SwapRectangleSizes ( Rectangle &rect ) : void

Method Details

AdjustForOrientation() public method

Adjust the memento values to apply an orientation.
public AdjustForOrientation ( VisualOrientation orientation, Rectangle displayRect ) : void
orientation VisualOrientation Visual orientation of contents.
displayRect System.Drawing.Rectangle Rectangle that contains the contents.
return void

Dispose() public method

Dispose of resources.
public Dispose ( ) : void
return void

StandardContentMemento() public method

Inititialize a new instance of the StandardContentMemento class.
public StandardContentMemento ( ) : System
return System

Property Details

DrawImage public_oe property

public bool DrawImage
return bool

DrawLongText public_oe property

public bool DrawLongText
return bool

DrawShortText public_oe property

public bool DrawShortText
return bool

Image public_oe property

public Image Image
return Image

ImageRect public_oe property

public Rectangle,System.Drawing ImageRect
return System.Drawing.Rectangle

ImageTransparentColor public_oe property

public Color ImageTransparentColor
return Color

LongTextHint public_oe property

public TextRenderingHint LongTextHint
return TextRenderingHint

LongTextMemento public_oe property

public AccurateTextMemento,ComponentFactory.Krypton.Toolkit LongTextMemento
return AccurateTextMemento

LongTextRect public_oe property

public Rectangle,System.Drawing LongTextRect
return System.Drawing.Rectangle

LongTextTrimming public_oe property

public PaletteTextTrim LongTextTrimming
return PaletteTextTrim

Orientation public_oe property

public VisualOrientation Orientation
return VisualOrientation

ShortTextHint public_oe property

public TextRenderingHint ShortTextHint
return TextRenderingHint

ShortTextMemento public_oe property

public AccurateTextMemento,ComponentFactory.Krypton.Toolkit ShortTextMemento
return AccurateTextMemento

ShortTextRect public_oe property

public Rectangle,System.Drawing ShortTextRect
return System.Drawing.Rectangle

ShortTextTrimming public_oe property

public PaletteTextTrim ShortTextTrimming
return PaletteTextTrim