HTMLDivision HTMLDivision HTMLDivision Interface


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

public interface class HTMLDivision
public interface HTMLDivision
Public Interface HTMLDivision


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.


Application Application Application

Returns an Application object that represents the Microsoft Word application.

Borders Borders Borders

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

Creator Creator Creator

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

HTMLDivisions HTMLDivisions HTMLDivisions

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

LeftIndent LeftIndent LeftIndent

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

Parent Parent Parent

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

Range Range Range

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

RightIndent RightIndent RightIndent

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

SpaceAfter SpaceAfter SpaceAfter

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

SpaceBefore SpaceBefore SpaceBefore

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


Delete() Delete() Delete()

Deletes the specified object.

HTMLDivisionParent(Object) HTMLDivisionParent(Object) HTMLDivisionParent(Object)

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

Applies to