... including URL and other Internet Web site references, is subject to change. without notice. ... does not give you any license to these patents, tr
Document source : download.microsoft.com
Text Suite
427
To add a sentence to a text range object, use the insert command. The following example inserts a
sentence after the first paragraph in the active document.
display dialog ((count of sentences of text object of active document) ¬
as string) & " sentences"
insert text "\r" at text object of paragraph 1 of active document
insert text "The house is blue. " at text object of paragraph 2 of ¬
active
document
display dialog ((count of sentences of text object of active document) ¬
as string) & " sentences"
Properties
<Inheritance> text range
Inherits the properties and elements of the text range class.
Class: shading
Plural
shadings
Contains shading attributes for an object.
Use the shading property to return the shading object. The following example applies fine gray
shading to the first paragraph in the active document.
set texture of shading of paragraph 1 of active document to texture10 percent
The following example applies shading with different foreground and background colors to the
selection.
set texture of shading of selection to texture20 percent
set foreground pattern color index of shading of selection to blue
set background pattern color index of shading of selection to yellow
The following example applies a vertical line texture to the first row in the first table in the active
document.
set texture of shading of row 1 of table 1 of active document to ¬
texture vertical
Summary :
set texture of shading of selection to texture20 percent set foreground pattern color index of shading of selection to blue set background pattern color index of shading of selection to yellow The following example applies a vertical line texture to the first row in the first table in the active document.
Tags :
actie,document,object,paragraph,texture,set,selection,first,following,example,insert,range,quot