www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 addPageRule Method
addPageRule Method

Creates a new page object for a style sheet.

Syntax

plNewIndex = styleSheet.addPageRule(sSelector, sStyle, iIndex)

Parameters

sSelector Required. String that specifies the selector for the new page object.
sStyle Required. 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.
iIndex Required. Integer that specifies the zero-based position in the pages collection where the new page object should be placed.
-1Default. The page object is added to the end of the collection.

Return Value

Reserved. Always returns -1.

Remarks

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

Standards Information

There is no public standard that applies to this method.

Applies To

styleSheet
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG