HTMLDivision Members (Word)

Represents a single HTML DIV element within a Web document. The HTMLDivision object is a member of the HTMLDivisions collection.

Methods

Name

Description

Delete

Deletes the specified HTML division.

HTMLDivisionParent

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

Properties

Name

Description

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. Read-only Long.

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. Read/write.

Parent

Returns an Object that represents the parent object of the specified HTMLDivision 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. Read/write Single.

SpaceAfter

Returns or sets the amount of spacing (in points) after the specified HTML DIV element. Read/write Single.

SpaceBefore

Returns or sets the spacing (in points) before the specified HTML DIV element. Read/write Single.