Pane Pane Pane Interface

Definition

Represents a pane of a window.

public interface class Pane
[System.Runtime.InteropServices.Guid("00020895-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Pane
Public Interface Pane
Attributes

Remarks

Pane objects exist only for worksheets and Microsoft Excel 4.0 macro sheets. The Pane object is a member of the Panes collection. The Panes collection contains all of the panes shown in a single window.

Use Panes (index), where index is the pane index number, to return a single Pane object.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Index Index Index

Returns the index number of the object within the collection of similar objects.

Parent Parent Parent

Returns the parent object for the specified object.

ScrollColumn ScrollColumn ScrollColumn

Returns or sets the number of the leftmost column in the pane.

ScrollRow ScrollRow ScrollRow

Returns or sets the number of the row that appears at the top of the pane.

VisibleRange VisibleRange VisibleRange

Returns a Range object that represents the range of cells that are visible in the pane. If a column or row is partially visible, it's included in the range.

Methods

Activate() Activate() Activate()

Activates the pane.

LargeScroll(Object, Object, Object, Object) LargeScroll(Object, Object, Object, Object) LargeScroll(Object, Object, Object, Object)

Scrolls the contents of the window by pages.

PointsToScreenPixelsX(Int32) PointsToScreenPixelsX(Int32) PointsToScreenPixelsX(Int32)

Returns or sets a pixel point on the screen.

PointsToScreenPixelsY(Int32) PointsToScreenPixelsY(Int32) PointsToScreenPixelsY(Int32)

Returns or sets the location of the pixel on the screen.

ScrollIntoView(Int32, Int32, Int32, Int32, Object) ScrollIntoView(Int32, Int32, Int32, Int32, Object) ScrollIntoView(Int32, Int32, Int32, Int32, Object)

Scrolls the pane so that the contents of a specified rectangular area are displayed in either the upper-left or lower-right corner of the pane.

SmallScroll(Object, Object, Object, Object) SmallScroll(Object, Object, Object, Object) SmallScroll(Object, Object, Object, Object)

Scrolls the contents of the window by rows or columns.

Applies to