Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

addPageRule method

Not implemented. Creates a new page object for a style sheet.

Syntax

var retval = styleSheet.addPageRule(bstrSelector, bstrStyle, lIndex);

Parameters

bstrSelector [in]

Type: String

String that specifies the selector for the new page object.

bstrStyle [in]

Type: String

String that specifies the style assignments for this page object. This style takes the same form as an inline style specification. For example, "color:blue" is a valid style parameter.

lIndex [in]

Type: Integer

Integer that specifies the zero-based position in the pages collection where the new page object should be placed.

-1

Default. The page object is added to the end of the collection.

Return value

Type: Integer

Reserved. Always returns -1.

Standards information

There are no standards that apply here.

Remarks

Each page object represents a style sheet that corresponds to a @page rule in the document.

See also

styleSheet

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.