HTMLDivision Interface

Definition

Represents a single HTML division that can be added to a Web document.

public interface class HTMLDivision
[System.Runtime.InteropServices.Guid("000209E7-0000-0000-C000-000000000046")]
public interface HTMLDivision
type HTMLDivision = interface
Public Interface HTMLDivision
Attributes

Remarks

The HTMLDivision object is a member of the HTMLDivisions collection.

Use HTMLDivisions(index), where index refers to the HTML division in the document, to return a single HTMLDivision object. Use the Borders property to format border properties for an HTML division.

HTML divisions can be nested within multiple HTML divisions. Use the HTMLDivisionParent(Object) method to access a parent HTML division of the current HTML division.

Properties

Application

Returns an Application object that represents the Microsoft Word application.

Borders

Returns a Borders collection that represents all the borders for the specified object.

Creator

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

HTMLDivisions

Returns an HTMLDivisions object that represents an HTML division in a Web document.

LeftIndent

Returns or sets a Single that represents the left indent value (in points) for the specified HTML division.

Parent

Returns an object that represents the parent object of the specified object.

Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

RightIndent

Returns or sets the right indent (in points) for the specified paragraphs.

SpaceAfter

Returns or sets the amount of spacing (in points) after the specified paragraph or text column.

SpaceBefore

Returns or sets the spacing (in points) before the specified paragraphs.

Methods

Delete()

Deletes the specified object.

HTMLDivisionParent(Object)

Returns an HTMLDivision object that represents a parent division of the current HTML division.

Applies to