Edytuj

Udostępnij za pośrednictwem


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

Returns an Application object that represents the Microsoft Excel application.

Creator

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

Index

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

Parent

Returns the parent object for the specified object.

ScrollColumn

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

ScrollRow

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

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()

Activates the pane.

LargeScroll(Object, Object, Object, Object)

Scrolls the contents of the window by pages.

PointsToScreenPixelsX(Int32)

Returns or sets a pixel point on the screen.

PointsToScreenPixelsY(Int32)

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

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)

Scrolls the contents of the window by rows or columns.

Applies to