ZedGraph LogoZedGraph Class Library Documentation
MasterPane Class
NamespacesZedGraphMasterPane
A collection class containing a list of GraphPane objects organized together in some form.
Declaration Syntax
C#Visual BasicVisual C++
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
MasterPaneMasterPaneNew()()
Default constructor for the class. Sets the Rect to (0, 0, 500, 375).

MasterPaneMasterPaneNew(String, RectangleF)
Default constructor for the class. Specifies the Title of the MasterPane, and the size of the Rect.

MasterPaneMasterPaneNew(MasterPane)
The Copy Constructor - Make a deep-copy clone of this class instance.

Add(GraphPane)
Add a GraphPane object to the PaneList collection at the end of the list.

AxisChange()()
Call AxisChange()() for all GraphPane objects in the PaneList list.

AxisChange(Graphics)
Call AxisChange()() for all GraphPane objects in the PaneList list.

BaseDimension
BaseDimension is a double precision value that sets "normal" pane size on which all the settings are based. The BaseDimension is in inches. For example, if the BaseDimension is 8.0 inches and the Title size is 14 points. Then the pane title font will be 14 points high when the Rect is approximately 8.0 inches wide. If the Rect is 4.0 inches wide, the pane title font will be 7 points high. Most features of the graph are scaled in this manner.
(Inherited from PaneBase.)
Border
Gets or sets the Border class for drawing the border border around the Rect
(Inherited from PaneBase.)
CalcClientRect(Graphics, Single)
Calculate the client area rectangle based on the Rect.
(Inherited from PaneBase.)
CalcScaleFactor()()
Calculate the scaling factor based on the ratio of the current Rect dimensions and the BaseDimension.
(Inherited from PaneBase.)
Clone()()
Typesafe, deep-copy clone method.

CommonScaleFactor()()
Method that forces the scale factor calculations (via CalcScaleFactor()()), to give a common scale factor for all GraphPane objects in the PaneList.

DoLayout(Graphics)
Modify the GraphPaneRect sizes of each GraphPane such that they fit within the MasterPane in a pre-configured layout.

Draw(Graphics)
Render all the GraphPane objects in the PaneList to the specified graphics device.
(Overrides PaneBase.Draw(Graphics).)
DrawPaneFrame(Graphics, Single)
Draw the border _border around the Rect area.
(Inherited from PaneBase.)
DrawTitle(Graphics, Single)
Draw the Title on the graph, centered at the top of the pane.
(Inherited from PaneBase.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Fill
Gets or sets the Fill data for the filling the background of the Rect.
(Inherited from PaneBase.)
Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindChartRect(PointF)
Find the GraphPane within the PaneList that contains the within its Rect.

FindNearestPaneObject(PointF, Graphics, GraphPane%, Object%, Int32%)
Find the pane and the object within that pane that lies closest to the specified mouse (screen) point.

FindPane(PointF)
Find the GraphPane within the PaneList that contains the within its Rect.

GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetImage()()
Build a Bitmap object containing the graphical rendering of all the GraphPane objects in this list.
(Inherited from PaneBase.)
GetImage(Int32, Int32, Single)
Gets an image for the current GraphPane, scaled to the specified size and resolution.
(Inherited from PaneBase.)
GetMetafile(Int32, Int32)
Gets an enhanced metafile image for the current GraphPane, scaled to the specified size.
(Inherited from PaneBase.)
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo instance with the data needed to serialize the target object
(Overrides PaneBase.GetObjectData(SerializationInfo, StreamingContext).)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
GraphObjList
Gets or sets the list of GraphObj items for this GraphPane
(Inherited from PaneBase.)
InnerPaneGap
Gets or sets the size of the margin between adjacent GraphPane objects.

IsCommonScaleFactor
Gets or sets a value that determines if the DoLayout(Graphics) method will automatically set the BaseDimension of each GraphPane in the PaneList such that the scale factors have the same value.

IsFontsScaled
Determines if the font sizes, tic sizes, gap sizes, etc. will be scaled according to the size of the Rect and the BaseDimension. If this value is set to false, then the font sizes and tic sizes will always be exactly as specified, without any scaling.
(Inherited from PaneBase.)
IsPenWidthScaled
Gets or sets the property that controls whether or not pen widths are scaled for this PaneBase.
(Inherited from PaneBase.)
IsUniformLegendEntries
Gets or set the value of the IsUniformLegendEntries

Item[([Int32])]
Indexer to access the specified GraphPane object from PaneList by its ordinal position in the list.

Item[([String])]
Indexer to access the specified GraphPane object from PaneList by its Title string.

Legend
Accesses the Legend for this PaneBase
(Inherited from PaneBase.)
Margin
Gets or sets the Margin instance that controls the space between the edge of the Rect and the rendered content of the graph.
(Inherited from PaneBase.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnDeserialization(Object)
Respond to the callback when the MasterPane objects are fully initialized.

PaneList
Gets or sets the PaneList collection instance that holds the list of GraphPane objects that are included in this MasterPane.

Rect
The rectangle that defines the full area into which all graphics will be rendered.
(Inherited from PaneBase.)
ReSize(Graphics)
Redo the layout using the current size of the Rect, and also handle resizing the contents by calling DoLayout(Graphics).

ReSize(Graphics, RectangleF)
Change the size of the Rect, and also handle resizing the contents by calling DoLayout(Graphics).
(Overrides PaneBase.ReSize(Graphics, RectangleF).)
ScaledPenWidth(Single, Single)
Calculate the scaled pen width, taking into account the scaleFactor and the setting of the IsPenWidthScaled property of the pane.
(Inherited from PaneBase.)
static memberschema2
Current schema value that defines the version of the serialized file

SetLayout(Graphics, PaneLayout)
Automatically set all of the GraphPaneRect's in the list to a pre-defined layout configuration from a PaneLayout enumeration.

SetLayout(Graphics, Int32, Int32)
Automatically set all of the GraphPaneRect's in the list to a reasonable configuration.

SetLayout(Graphics, Boolean, array<Int32>[]())
Automatically set all of the GraphPaneRect's in the list to the specified configuration.

SetLayout(Graphics, Boolean, array<Int32>[](), array<Single>[]())
Automatically set all of the GraphPaneRect's in the list to the specified configuration.

ShallowClone()()
Create a shallow, memberwise copy of this class.
(Inherited from PaneBase.)
ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()() to make a deep copy.

Tag
Gets or sets the user-defined tag for this PaneBase. This tag can be any user-defined value. If it is a String type, it can be used as a parameter to the IndexOfTag(String) method.
(Inherited from PaneBase.)
Title
Gets the Label instance that contains the text and attributes of the title. This text can be multiple lines separated by newline characters ('\n').
(Inherited from PaneBase.)
TitleGap
Gets or sets the gap between the bottom of the pane title and the client area of the pane. This is expressed as a fraction of the scaled Title character height.
(Inherited from PaneBase.)
ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
PaneBase
 MasterPane

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621