Property

PID

Type

Default

Description

rotation

4

LONG

0

fixed point: 16.16 degrees

Property

PID

Type

Default

Description

fLockRotation

119

BOOL

FALSE

No rotation

fLockAspectRatio

120

BOOL

FALSE

Don't allow changes in aspect ratio

fLockPosition

121

BOOL

FALSE

Don't allow the shape to be moved

fLockAgainstSelect

122

BOOL

FALSE

Shape may not be selected

fLockCropping

123

BOOL

FALSE

No cropping this shape

fLockVertices

124

BOOL

FALSE

Edit Points not allowed

fLockText

125

BOOL

FALSE

Do not edit text

fLockAdjustHandles

126

BOOL

FALSE

Do not adjust

fLockAgainstGrouping

127

BOOL

FALSE

Do not group this shape

Property

PID

Type

Default

Description

lTxid

128

LONG

0

id for the text, value determined by the host

dxTextLeft

129

LONG

1/10 inch

margins relative to shape's inscribed text rectangle (in EMUs)

dyTextTop

130

LONG

1/20 inch

dxTextRight

131

LONG

1/10 inch

dyTextBottom

132

LONG

1/20 inch

WrapText

133

MSOWRAPMODE

FALSE

Wrap text at shape margins

scaleText

134

LONG

0

Text zoom/scale (used if fFitTextToShape)

anchorText

135

MSOANCHOR

Top

How to anchor the text

txflTextFlow

136

MSOTXFL

HorzN

Text flow

cdirFont

137

MSOCDIR

msocdir0

Font rotation

hspNext

138

MSOHSP

NULL

ID of the next shape (used by Word for linked textboxes)

txdir

139

MSOTXDIR

LTR

Bi-Di Text direction

fSelectText

187

BOOL

TRUE

TRUE if single click selects text, FALSE if two clicks

fAutoTextMargin

188

BOOL

FALSE

use host's margin calculations

fRotateText

189

BOOL

FALSE

Rotate text with shape

fFitShapeToText

190

BOOL

FALSE

Size shape to fit text size

fFitTextToShape

191

BOOL

FALSE

Size text to fit shape size

Property

PID

Type

Default

Description

gtextUNICODE

192

WCHAR*

NULL

UNICODE text string

gtextRTF

193

char*

NULL

RTF text string

gtextAlign

194

MSOGEOTEXTALIGN

Center

alignment on curve

gtextSize

195

LONG

36<<16

default point size

gtextSpacing

196

LONG

1<<16

fixed point 16.16

gtextFont

197

WCHAR*

NULL

font family name

gtextFReverseRows

240

BOOL

FALSE

Reverse row order

fGtext

241

BOOL

FALSE

Has text effect

gtextFVertical

242

BOOL

FALSE

Rotate characters

gtextFKern

243

BOOL

FALSE

Kern characters

gtextFTight

244

BOOL

FALSE

Tightening or tracking

gtextFStretch

245

BOOL

FALSE

Stretch to fit shape

gtextFShrinkFit

246

BOOL

FALSE

Char bounding box

gtextFBestFit

247

BOOL

FALSE

Scale text-on-path

gtextFNormalize

248

BOOL

FALSE

Stretch char height

gtextFDxMeasure

249

BOOL

FALSE

Do not measure along path

gtextFBold

250

BOOL

FALSE

Bold font

gtextFItalic

251

BOOL

FALSE

Italic font

gtextFUnderline

252

BOOL

FALSE

Underline font

gtextFShadow

253

BOOL

FALSE

Shadow font

gtextFSmallcaps

254

BOOL

FALSE

Small caps font

gtextFStrikethrough

255

BOOL

FALSE

Strike through font

Property

PID

Type

Default

Description

cropFromTop

256

LONG

0

16.16 fraction times total image width or height, as appropriate.

cropFromBottom

257

LONG

0

cropFromLeft

258

LONG

0

cropFromRight

259

LONG

0

pib

260

IMsoBlip*

NULL

Blip to display

pibName

261

WCHAR*

NULL

Blip file name

pibFlags

262

MSOBLIPFLAGS

Comment

Blip flags

pictureTransparent

263

LONG

~0

transparent color (none if ~0UL)

pictureContrast

264

LONG

1<<16

contrast setting

pictureBrightness

265

LONG

0

brightness setting

pictureGamma

266

LONG

0

16.16 gamma

pictureId

267

LONG

0

Host-defined ID for OLE objects (usually a pointer)

pictureDblCrMod

268

MSOCLR

This

Modification used if shape has double shadow

pictureFillCrMod

269

MSOCLR

undefined

pictureLineCrMod

270

MSOCLR

undefined

pibPrint

271

IMsoBlip*

NULL

Blip to display when printing

pibPrintName

272

WCHAR*

NULL

Blip file name

pibPrintFlags

273

MSOBLIPFLAGS

Comment

Blip flags

fNoHitTestPicture

316

BOOL

FALSE

Do not hit test the picture

pictureGray

317

BOOL

FALSE

grayscale display

pictureBiLevel

318

BOOL

FALSE

bi-level display

pictureActive

319

BOOL

FALSE

Server is active (OLE objects only)

Property PID Type Default Description
geoLeft 320 LONG 0 Defines the G (geometry) coordinate space.
geoTop 321 LONG 0  
geoRight 322 LONG 21600  
geoBottom 323 LONG 21600  
shapePath 324 MSOSHAPEPATH msoshapeLinesClosed  
pVertices 325 IMsoArray NULL An array of points, in G units.
pSegmentInfo 326 IMsoArray NULL  
adjustValue 327 LONG 0 Adjustment values corresponding to the positions of the adjust handles of the shape. The number of values used and their allowable ranges vary from shape type to shape type.
adjust2Value 328 LONG 0  
adjust3Value 329 LONG 0  
adjust4Value 330 LONG 0  
adjust5Value 331 LONG 0  
adjust6Value 332 LONG 0  
adjust7Value 333 LONG 0  
adjust8Value 334 LONG 0  
adjust9Value 335 LONG 0  
adjust10Value 336 LONG 0  
fShadowOK 378 BOOL TRUE Shadow may be set
f3DOK 379 BOOL TRUE 3D may be set
fLineOK 380 BOOL TRUE Line style may be set
fGtextOK 381 BOOL FALSE Text effect (WordArt) supported
fFillShadeShapeOK 382 BOOL FALSE  
fFillOK 383 BOOL TRUE OK to fill the shape through the UI or VBA?
Property

PID

Type

Default

Description

fillType

384

MSOFILLTYPE

Solid

Type of fill

fillColor

385

MSOCLR

white

Foreground color

fillOpacity

386

LONG

1<<16

Fixed 16.16

fillBackColor

387

MSOCLR

white

Background color

fillBackOpacity

388

LONG

1<<16

Shades only

fillCrMod

389

MSOCLR

undefined

Modification for BW views

fillBlip

390

IMsoBlip*

NULL

Pattern/texture

fillBlipName

391

WCHAR*

NULL

Blip file name

fillBlipFlags

392

MSOBLIPFLAGS

Comment

Blip flags

fillWidth

393

LONG

0

How big (A units) to make a metafile texture.

fillHeight

394

LONG

0

fillAngle

395

LONG

0

Fade angle - degrees in 16.16

fillFocus

396

LONG

0

Linear shaded fill focus percent

fillToLeft

397

LONG

0

Fraction 16.16

fillToTop

398

LONG

0

Fraction 16.16

fillToRight

399

LONG

0

Fraction 16.16

fillToBottom

400

LONG

0

Fraction 16.16

fillRectLeft

401

LONG

0

For shaded fills, use the specified rectangle instead of the shape's bounding rect to define how large the fade is going to be.

fillRectTop

402

LONG

0

fillRectRight

403

LONG

0

fillRectBottom

404

LONG

0

fillDztype

405

MSODZTYPE

Default

fillShadePreset

406

LONG

0

Special shades

fillShadeColors

407

IMsoArray

NULL

a preset array of colors

fillOriginX

408

LONG

0

fillOriginY

409

LONG

0

fillShapeOriginX

410

LONG

0

fillShapeOriginY

411

LONG

0

fillShadeType

412

MSOSHADETYPE

Default

Type of shading, if a shaded (gradient) fill.

fFilled

443

BOOL

TRUE

Is shape filled?

fHitTestFill

444

BOOL

TRUE

Should we hit test fill?

fillShape

445

BOOL

TRUE

Register pattern on shape

fillUseRect

446

BOOL

FALSE

Use the large rect?

fNoFillHitTest

447

BOOL

FALSE

Hit test a shape as though filled

Property

PID

Type

Default

Description

lineColor

448

MSOCLR

black

Color of line

lineOpacity

449

LONG

1<<16

Not implemented

lineBackColor

450

MSOCLR

white

Background color

lineCrMod

451

MSOCLR

undefined

Modification for BW views

lineType

452

MSOLINETYPE

Solid

Type of line

lineFillBlip

453

IMsoBlip*

NULL

Pattern/texture

lineFillBlipName

454

WCHAR*

NULL

Blip file name

lineFillBlipFlags

455

MSOBLIPFLAGS

Comment

Blip flags

lineFillWidth

456

LONG

0

How big (A units) to make a metafile texture.

lineFillHeight

457

LONG

0

lineFillDztype

458

MSODZTYPE

Default

How to interpret fillWidth/Height numbers.

lineWidth

459

LONG

9525

A units; 1pt == 12700 EMUs

lineMiterLimit

460

LONG

8<<16

ratio (16.16) of width

lineStyle

461

MSOLINESTYLE

Simple

Draw parallel lines?

lineDashing

462

MSOLINEDASHING

Solid

Can be overridden by:

lineDashStyle

463

IMsoArray

NULL

As Win32 ExtCreatePen

lineStartArrowhead

464

MSOLINEEND

NoEnd

Arrow at start

lineEndArrowhead

465

MSOLINEEND

NoEnd

Arrow at end

lineStartArrowWidth

466

MSOLINEENDWIDTH

MediumWidthArrow

Arrow at start

lineStartArrowLength

467

MSOLINEENDLENGTH

MediumLenArrow

Arrow at end

lineEndArrowWidth

468

MSOLINEENDWIDTH

MediumWidthArrow

Arrow at start

lineEndArrowLength

469

MSOLINEENDLENGTH

MediumLenArrow

Arrow at end

lineJoinStyle

470

MSOLINEJOIN

JoinRound

How to join lines

lineEndCapStyle

471

MSOLINECAP

EndCapFlat

How to end lines

fArrowheadsOK

507

BOOL

FALSE

Allow arrowheads if prop. is set

fLine

508

BOOL

TRUE

Any line?

fHitTestLine

509

BOOL

TRUE

Should we hit test lines?

lineFillShape

510

BOOL

TRUE

Register pattern on shape

fNoLineDrawDash

511

BOOL

FALSE

Draw a dashed line if no line

Property

PID

Type

Default

Description

shadowType

512

MSOSHADOWTYPE

Offset

Type of effect

shadowColor

513

MSOCLR

0x808080

Foreground color

shadowHighlight

514

MSOCLR

0xCBCBCB

Embossed color

shadowCrMod

515

MSOCLR

undefined

Modification for BW views

shadowOpacity

516

LONG

1<<16

Fixed 16.16

shadowOffsetX

517

LONG

25400

Offset shadow

shadowOffsetY

518

LONG

25400

Offset shadow

shadowSecondOffsetX

519

LONG

0

Double offset shadow

shadowSecondOffsetY

520

LONG

0

Double offset shadow

shadowScaleXToX

521

LONG

1<<16

16.16

shadowScaleYToX

522

LONG

0

16.16

shadowScaleXToY

523

LONG

0

16.16

shadowScaleYToY

524

LONG

1<<16

16.16

shadowPerspectiveX

525

LONG

0

16.16 / weight

shadowPerspectiveY

526

LONG

0

16.16 / weight

shadowWeight

527

LONG

1<<8

scaling factor

shadowOriginX

528

LONG

0

shadowOriginY

529

LONG

0

fShadow

574

BOOL

FALSE

Any shadow?

fshadowObscured

575

BOOL

FALSE

Excel5-style shadow

Property

PID

Type

Default

Description

perspectiveType

576

MSOXFORMTYPE

Shape

Where transform applies

perspectiveOffsetX

577

LONG

0

The LONG values define a transformation matrix, effectively, each value is scaled by the perspectiveWeight parameter.

perspectiveOffsetY

578

LONG

0

perspectiveScaleXToX

579

LONG

1<<16

perspectiveScaleYToX

580

LONG

0

perspectiveScaleXToY

581

LONG

0

perspectiveScaleYToY

582

LONG

1<<16

perspectivePerspectiveX

583

LONG

0

perspectivePerspectiveY

584

LONG

0

perspectiveWeight

585

LONG

1<<8

Scaling factor

perspectiveOriginX

586

LONG

1<<15

perspectiveOriginY

587

LONG

1<<15

fPerspective

639

BOOL

FALSE

On/off

Property

PID

Type

Default

Description

c3DSpecularAmt

640

LONG

0

Fixed-point 16.16

c3DDiffuseAmt

641

LONG

65536

Fixed-point 16.16

c3DShininess

642

LONG

5

Default gives OK results

c3DEdgeThickness

643

LONG

12700

Specular edge thickness

c3DExtrudeForward

644

LONG

0

Distance of extrusion in EMUs

c3DExtrudeBackward

645

LONG

457200

c3DExtrudePlane

646

LONG

0

Extrusion direction

c3DExtrusionColor

647

MSOCLR

FillThenLine

Basic color of extruded part of shape; the lighting model used will determine the exact shades used when rendering.

c3DCrMod

648

MSOCLR

undefined

Modification for BW views

f3D

700

BOOL

FALSE

Does this shape have a 3D effect?

fc3DMetallic

701

BOOL

0

Use metallic specularity?

fc3DUseExtrusionColor

702

BOOL

FALSE

fc3DLightFace

703

BOOL

TRUE

Property

PID

Type

Default

Description

c3DYRotationAngle

704

LONG

0

degrees (16.16) about y axis

c3DXRotationAngle

705

LONG

0

degrees (16.16) about x axis

c3DRotationAxisX

706

LONG

100

These specify the rotation axis; only their relative magnitudes matter.

c3DRotationAxisY

707

LONG

0

c3DRotationAxisZ

708

LONG

0

c3DRotationAngle

709

LONG

0

degrees (16.16) about axis

c3DRotationCenterX

710

LONG

0

rotation center x (16.16 or g-units)

c3DRotationCenterY

711

LONG

0

rotation center y (16.16 or g-units)

c3DRotationCenterZ

712

LONG

0

rotation center z (absolute (emus))

c3DRenderMode

713

MSO3DRENDERMODE

FullRender

Full,wireframe, or bcube

c3DTolerance

714

LONG

30000

pixels (16.16)

c3DXViewpoint

715

LONG

1250000

X view point (emus)

c3DYViewpoint

716

LONG

-1250000

Y view point (emus)

c3DZViewpoint

717

LONG

9000000

Z view distance (emus)

c3DOriginX

718

LONG

32768

c3DOriginY

719

LONG

-32768

c3DSkewAngle

720

LONG

-8847360

degree (16.16) skew angle

c3DSkewAmount

721

LONG

50

Percentage skew amount

c3DAmbientIntensity

722

LONG

20000

Fixed point intensity

c3DKeyX

723

LONG

50000

Key light source direc-

c3DKeyY

724

LONG

0

tion; only their relative

c3DKeyZ

725

LONG

10000

magnitudes matter

c3DKeyIntensity

726

LONG

38000

Fixed point intensity

c3DFillX

727

LONG

-50000

Fill light source direc-

c3DFillY

728

LONG

0

tion; only their relative

c3DFillZ

729

LONG

10000

magnitudes matter

c3DFillIntensity

730

LONG

38000

Fixed point intensity

fc3DConstrainRotation

763

BOOL

TRUE

fc3DRotationCenterAuto

764

BOOL

FALSE

fc3DParallel

765

BOOL

1

Parallel projection?

fc3DKeyHarsh

766

BOOL

1

Is key lighting harsh?

fc3DFillHarsh

767

BOOL

0

Is fill lighting harsh?

Property

PID

Type

Default

Description

hspMaster

769

MSOHSP

NULL

master shape

cxstyle

771

MSOCXSTYLE

None

Type of connector

bWMode

772

MSOBWMODE

Automatic

Settings for modifications to be made when in different forms of black-and-white mode.

bWModePureBW

773

MSOBWMODE

Automatic

bWModeBW

774

MSOBWMODE

Automatic

fOleIcon

826

BOOL

FALSE

For OLE objects, whether the object is in icon form

fPreferRelativeResize

827

BOOL

FALSE

For UI only. Prefer relative resizing.

fLockShapeType

828

BOOL

FALSE

Lock the shape type (don't allow Change Shape)

fDeleteAttachedObject

830

BOOL

FALSE

fBackground

831

BOOL

FALSE

If TRUE, this is the background shape.

Property

PID

Type

Default

Description

spcot

832

MSOSPCOT

TwoSegment

Callout type

dxyCalloutGap

833

LONG

1/12 inch

Distance from box to first point.(EMUs)

spcoa

834

MSOSPCOA

Any

Callout angle

spcod

835

MSOSPCOD

Specified

Callout drop type

dxyCalloutDropSpecified

836

LONG

9 points

if msospcodSpecified, the actual drop distance

dxyCalloutLengthSpecified

837

LONG

0

if fCalloutLengthSpecified, the actual distance

fCallout

889

BOOL

FALSE

Is the shape a callout?

fCalloutAccentBar

890

BOOL

FALSE

does callout have accent bar

fCalloutTextBorder

891

BOOL

TRUE

does callout have a text border

fCalloutMinusX

892

BOOL

FALSE

fCalloutMinusY

893

BOOL

FALSE

fCalloutDropAuto

894

BOOL

FALSE

If true, then we occasionally invert the drop distance

fCalloutLengthSpecified

895

BOOL

FALSE

if true, we look at dxyCalloutLengthSpecified

Property

PID

Type

Default

Description

wzName

896

WCHAR*

NULL

Shape Name (present only if explicitly set)

wzDescription

897

WCHAR*

NULL

alternate text

pihlShape

898

IHlink*

NULL

The hyperlink in the shape.

pWrapPolygonVertices

899

IMsoArray

NULL

The polygon that text will be wrapped around (Word)

dxWrapDistLeft

900

LONG

1/8 inch

Left wrapping distance from text (Word)

dyWrapDistTop

901

LONG

0

Top wrapping distance from text (Word)

dxWrapDistRight

902

LONG

1/8 inch

Right wrapping distance from text (Word)

dyWrapDistBottom

903

LONG

0

Bottom wrapping distance from text (Word)

lidRegroup

904

LONG

0

Regroup ID

fEditedWrap

953

BOOL

FALSE

Has the wrap polygon been edited?

fBehindDocument

954

BOOL

FALSE

Word-only (shape is behind text)

fOnDblClickNotify

955

BOOL

FALSE

Notify client on a double click

fIsButton

956

BOOL

FALSE

A button shape (i.e., clicking performs an action). Set for shapes with attached hyperlinks or macros.

fOneD

957

BOOL

FALSE

1D adjustment

fHidden

958

BOOL

FALSE

Do not display

fPrint

959

BOOL

TRUE

Print this shape


Henning Brinkmann - Sun Germany - Software Engineer
Last modified: Mon Jul 10 17:55:06 CEST 2006