Objective Grid for Microsoft® .NET® Reference Guide

OGPen Members

Back to Class Index

OGPen overview

Public Static (Shared) Methods

OGBlankPen Builds a blank pen--a pen that draws nothing.
OGSolidPen Builds a solid pen using a specified color and weight.

Public Instance Constructors

OGPenOverloaded. Initializes a new instance of the OGPen class.

Public Instance Properties

BorderColor Gets or sets the color of the pen (border).
DashStyle Gets or sets the BorderDashStyle for the pen (border).
Description Returns a string description for this pen.
Weight Gets or sets the weight, or width, of the pen (border).

Public Instance Methods

Clone Creates a copy of this OGPen.
Equals Compares two pens for equality.
GetHashCode Calculates the hash code for the pen.
GetObjectData FOR INTERNAL USE ONLY.
GetPenKey Returns the hash key for the pen.
GetType (inherited from Object)Gets the Type of the current instance.
MakeGdiPlusPen Converts this OGPen to an equivalent GDI+ Pen object.
ToString FOR INTERNAL USE ONLY.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

OGPen Class | Stingray.Grid Namespace