Globals

Properties

Properties

constant

ActiveXPersistenceType  number

Utility class containing constants. Represents the persistence method to persist an ActiveX control.

Properties

Name Type Optional Description

PROPERTY_BAG

 

 

The data is stored as xml data.

STORAGE

 

 

The data is stored as a storage binary data.

STREAM

 

 

The data is stored as a stream binary data.

STREAM_INIT

 

 

The data is stored as a streaminit binary data.

constant

AlignmentValue  number

Utility class containing constants. Specifies the tab alignment.

Properties

Name Type Optional Description

LEFT

 

 

Left.

CENTER

 

 

Center.

RIGHT

 

 

Right.

DECIMAL

 

 

Decimal.

UNDEFINED

 

 

Undefined.

constant

AlignNameValue  number

Utility class containing constants. Optional int. Specifies whether the master's text in the stencil window is aligned left, right, or center.

Properties

Name Type Optional Description

ALIGN_TEXT_LEFT

 

 

Align text left.

ALIGN_TEXT_CENTER

 

 

Align text center.

ALIGN_TEXT_RIGHT

 

 

Align text right.

UNDEFINED

 

 

Undefined.

constant

ArrowSizeValue  number

Utility class containing constants. Specifies the size of the arrowhead of the line.

Properties

Name Type Optional Description

VERY_SMALL

 

 

VerySmall.

SMALL

 

 

Small.

MEDIUM

 

 

Medium.

LARGE

 

 

Large.

EXTRA_LARGE

 

 

ExtraLarge.

JUMBO

 

 

Jumbo.

COLOSSAL

 

 

Colossal.

UNDEFINED

 

 

Undefined.

constant

BevelLightingTypeValue  number

Utility class containing constants. Represents a preset light right that can be applied to a shape

Properties

Name Type Optional Description

BALANCED

 

 

Balanced

BRIGHT_ROOM

 

 

Bright room

CHILLY

 

 

Chilly

CONTRASTING

 

 

Contrasting

FLAT

 

 

Flat

FLOOD

 

 

Flood

FREEZING

 

 

Freezing

GLOW

 

 

Glow

HARSH

 

 

Harsh

LEGACY_FLAT_1

 

 

LegacyFlat1

LEGACY_FLAT_2

 

 

LegacyFlat2

LEGACY_FLAT_3

 

 

LegacyFlat3

LEGACY_FLAT_4

 

 

LegacyFlat4

LEGACY_HARSH_1

 

 

LegacyHarsh1

LEGACY_HARSH_2

 

 

LegacyHarsh2

LEGACY_HARSH_3

 

 

LegacyHarsh3

LEGACY_HARSH_4

 

 

LegacyHarsh4

LEGACY_NORMAL_1

 

 

LegacyNormal1

LEGACY_NORMAL_2

 

 

LegacyNormal2

LEGACY_NORMAL_3

 

 

LegacyNormal3

LEGACY_NORMAL_4

 

 

LegacyNormal4

MORNING

 

 

Morning

SOFT

 

 

Soft

SUNRISE

 

 

Sunrise

SUNSET

 

 

Sunset

THREE_POINT

 

 

Three point

TWO_POINT

 

 

Two point

UNDEFINED

 

 

No light rig.

constant

BevelMaterialTypeValue  number

Utility class containing constants. Describes surface appearance of a shape.

Properties

Name Type Optional Description

CLEAR

 

 

Clear

DARK_EDGE

 

 

Dark edge

FLAT

 

 

Flat

LEGACY_MATTE

 

 

Legacy matte

LEGACY_METAL

 

 

Legacy metal

LEGACY_PLASTIC

 

 

Legacy plastic

LEGACY_WIREFRAME

 

 

Legacy wireframe

MATTE

 

 

Matte

METAL

 

 

Metal

PLASTIC

 

 

Plastic

POWDER

 

 

Powder

SOFT_EDGE

 

 

Soft edge

SOFT_METAL

 

 

Soft metal

TRANSLUCENT_POWDER

 

 

Translucent powder

WARM_MATTE

 

 

Warm matte

UNDEFINED

 

 

constant

BevelPresetType  number

Utility class containing constants. Represents a preset for a type of bevel which can be applied to a shape in 3D.

Properties

Name Type Optional Description

NONE

 

 

No bevel

ANGLE

 

 

Angle

ART_DECO

 

 

Art deco

CIRCLE

 

 

Circle

CONVEX

 

 

Convex

COOL_SLANT

 

 

Cool slant

CROSS

 

 

Cross

DIVOT

 

 

Divot

HARD_EDGE

 

 

Hard edge

RELAXED_INSET

 

 

Relaxed inset

RIBLET

 

 

Riblet

SLOPE

 

 

Slope

SOFT_ROUND

 

 

Soft round

constant

BevelTypeValue  number

Utility class containing constants. Represents a preset for a type of bevel which can be applied to a shape in 3D.

Properties

Name Type Optional Description

NONE

 

 

No bevel

ANGLE

 

 

Angle

ART_DECO

 

 

Art deco

CIRCLE

 

 

Circle

CONVEX

 

 

Convex

COOL_SLANT

 

 

Cool slant

CROSS

 

 

Cross

DIVOT

 

 

Divot

HARD_EDGE

 

 

Hard edge

RELAXED_INSET

 

 

Relaxed inset

RIBLET

 

 

Riblet

SLOPE

 

 

Slope

SOFT_ROUND

 

 

Soft round

UNDEFINED

 

 

Undefined.

constant

BOOL  number

Utility class containing constants. Boolean.

Properties

Name Type Optional Description

UNDEFINED

 

 

Undefined state.

FALSE

 

 

False.

TRUE

 

 

True.

constant

BulletValue  number

Utility class containing constants. Determines the bullet style.

Properties

Name Type Optional Description

NONE

 

 

None.

STYLE_1

 

 

Point.

STYLE_2

 

 

Rhomb.

STYLE_3

 

 

Square.

STYLE_4

 

 

Big square.

STYLE_5

 

 

Rhombs.

STYLE_6

 

 

Arrow.

STYLE_7

 

 

Tick.

UNDEFINED

 

 

Undefined.

constant

CalendarValue  number

Utility class containing constants. Determines the calendar that is used for custom properties, text fields, and element formulas.

Properties

Name Type Optional Description

WESTERN

 

 

Western.

ARABIC_HIJIRI

 

 

Arabic hijiri.

HEBREW_LUNAR

 

 

Hebrew lunar.

TAIWAN_CALENDAR

 

 

Taiwan calendar.

JAPANESE_EMPEROR_REIGN

 

 

Japanese Emperor Reign.

THAI_BUDDHIST

 

 

Thai Buddhist.

KOREAN_DANKI

 

 

Korean Danki.

SAKA_ERA

 

 

Saka Era.

ENGLISH_TRANSLITERATED

 

 

English Transliterated.

FRENCH_TRANSLITERATED

 

 

French Transliterated.

UNDEFINED

 

 

Undefined.

constant

CaseValue  number

Utility class containing constants. Determines the case of a shape's text. All capital (uppercase) letters (1) and initial capital letters (2) do not change the appearance of text that was entered in all capital letters. The text must be entered in lowercase letters for these options to show an effect.

Properties

Name Type Optional Description

NORMAL_CASE

 

 

Normal case.

ALL_CAPITAL_LETTERS

 

 

All capital (uppercase) letters.

INITIAL_CAPITAL_LETTERS_ONLY

 

 

Initial capital letters only.

UNDEFINED

 

 

Undefined.

constant

CheckValueType  number

Utility class containing constants. Represents the check value type of the check box.

Properties

Name Type Optional Description

UN_CHECKED

 

 

UnChecked

CHECKED

 

 

Checked

MIXED

 

 

Mixed

constant

CompositingQuality  number

Utility class containing constants. Specifies the quality level to use during compositing.

Properties

Name Type Optional Description

INVALID

 

 

Invalid quality.

DEFAULT

 

 

Default quality.

HIGH_SPEED

 

 

High speed, low quality.

HIGH_QUALITY

 

 

High quality, low speed compositing.

GAMMA_CORRECTED

 

 

Gamma correction is used.

ASSUME_LINEAR

 

 

Assume linear values.

constant

CompoundTypeValue  number

Utility class containing constants. Represents style of drawing lines.

Properties

Name Type Optional Description

SINGLE

 

 

Single line (of width lineWidth)

THICK_BETWEEN_THIN

 

 

Three lines, thin, thick, thin

THIN_THICK

 

 

Double lines, one thin, one thick

THICK_THIN

 

 

Double lines, one thick, one thin

THIN_THIN

 

 

Double lines of equal width

UNDEFINED

 

 

Undefined.

constant

CompressionType  number

Utility class containing constants. This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the type of compression applied to the file.

Properties

Name Type Optional Description

NO

 

 

No compression (the default).

JPEG

 

 

JPEG compression.

GIF

 

 

GIF compression.

TIFF

 

 

TIFF compression.

PNG

 

 

PNG compression.

UNDEFINED

 

 

Undefined.

constant

ConFixedCodeValue  number

Utility class containing constants. Determines when a connector reroutes.

Properties

Name Type Optional Description

REROUTE_FREELY

 

 

Reroute freely.

REROUTE_NEEDED

 

 

Reroute as needed.

NEVER_REROUTE

 

 

Never reroute.

REROUTE_ON_CROSSOVER

 

 

Reroute on crossover.

RESERVED_1

 

 

Reserved for internal use only.

RESERVED_2

 

 

Reserved for internal use only.

RESERVED_3

 

 

Reserved for internal use only.

UNDEFINED

 

 

Undefined.

constant

ConLineJumpCodeValue  number

Utility class containing constants. Determines whether a connector jumps when two connectors cross.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

NEVER

 

 

Never.

ALWAYS

 

 

Always

OTHER_CONNECTOR_JUMPS

 

 

Other connector jumps.

NEITHER_CONNECTOR_JUMPS

 

 

Neither connector jumps.

UNDEFINED

 

 

Undefined.

constant

ConLineJumpDirXValue  number

Utility class containing constants. Determines the line jump direction for line jumps occurring on a horizontal segment of a dynamic connector.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

UP

 

 

Up.

DOWN

 

 

Down.

UNDEFINED

 

 

Undefined.

constant

ConLineJumpDirYValue  number

Utility class containing constants. Determines the line jump direction for line jumps occurring on a vertical segment of a dynamic connector.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

LEFT

 

 

Left.

RIGHT

 

 

Right.

UNDEFINED

 

 

Undefined.

constant

ConLineJumpStyleValue  number

Utility class containing constants. Determines the line jump style for line jumps on a dynamic connector.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

ARC

 

 

Arc.

GAP

 

 

Gap.

SQUARE

 

 

Square.

SIDES_2

 

 

Sides2.

SIDES_3

 

 

Sides3.

SIDES_4

 

 

Sides4.

SIDES_5

 

 

Sides5.

SIDES_6

 

 

Sides6.

SIDES_7

 

 

Sides7

UNDEFINED

 

 

Undefined.

constant

ConLineRouteExtValue  number

Utility class containing constants. Determines the appearance of a connector.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

STRAIGHT

 

 

Straight.

CURVED

 

 

Curved.

UNDEFINED

 

 

Undefined.

constant

ConnectedShapesFlags  number

Utility class containing constants. Filters the array of returned shape IDs by the directionality of the connectors.

Properties

Name Type Optional Description

CONNECTED_SHAPES_ALL_NODES

 

 

Return IDs of shapes that are associated with both incoming and outgoing connections.

CONNECTED_SHAPES_INCOMING_NODES

 

 

Return IDs of shapes that are associated with incoming connections.

CONNECTED_SHAPES_OUTGOING_NODES

 

 

Return IDs of shapes that are associated with outgoing connections.

constant

ConnectionPointPlace  number

Utility class containing constants. Specifies the location on the shape where connector will be connected.

Properties

Name Type Optional Description

TOP

 

 

Top of the shape.

BOTTOM

 

 

Bottom of the shape.

LEFT

 

 

Left of the shape.

RIGHT

 

 

Right of the shape.

CENTER

 

 

Center of the shape.

constant

ConnectorsTypeValue  number

Utility class containing constants. May be one of the following values: RightAngle, StraightLines, or CurvedLines. Only relevant when WindowType is specified as Drawing or Sheet.

Properties

Name Type Optional Description

RIGHT_ANGLE

 

 

RightAngle.

STRAIGHT_LINES

 

 

StraightLines.

CURVED_LINES

 

 

CurvedLines.

UNDEFINED

 

 

Undefined.

constant

ContainerTypeValue  number

Utility class containing constants. May be one of the following values: Document, Page, or Master. Only relevant when WindowType is specified as Drawing or Sheet.

Properties

Name Type Optional Description

DOCUMENT

 

 

Document.

PAGE

 

 

Page.

MASTER

 

 

Master.

STYLE

 

 

Master.

UNDEFINED

 

 

Undefined.

constant

ContextTypeValue  number

Utility class containing constants. Specifies properties of the group or shape to use for the comparison. Possible values are shown in the following table.

Properties

Name Type Optional Description

SHAPE_TEXT

 

 

Shape text.

SHAPE_DATA_ITEM_CUSTOM_PROPERTY_LABEL

 

 

Shape-data-item (custom property) label.

USER_CELL_LOCAL_ROW_NAME

 

 

User cell local row name.

GEOMETRY_ANGLE

 

 

Geometry angle.

GEOMETRY_WIDTH

 

 

Geometry width.

GEOMETRY_HEIGHT

 

 

Geometry height.

SHAPE_ID

 

 

Shape ID.

MASTER_NAME

 

 

Master name.

SHAPE_LOCAL_NAME

 

 

Shape local name.

SHAPE_TYPE

 

 

Shape type.

DATA_1

 

 

Data1.

DATA_2

 

 

Data2.

DATA_3

 

 

Data3.

UNDEFINED

 

 

Undefined.

constant

ControlBorderType  number

Utility class containing constants. Represents the border type of the ActiveX control.

Properties

Name Type Optional Description

NONE

 

 

No border.

SINGLE

 

 

The single line.

constant

ControlCaptionAlignmentType  number

Utility class containing constants. Represents the position of the Caption relative to the control.

Properties

Name Type Optional Description

LEFT

 

 

The left of the control.

RIGHT

 

 

The right of the control.

constant

ControlListStyle  number

Utility class containing constants. Represents the visual appearance of the list in a ListBox or ComboBox.

Properties

Name Type Optional Description

PLAIN

 

 

Displays a list in which the background of an item is highlighted when it is selected.

OPTION

 

 

Displays a list in which an option button or a checkbox next to each entry displays the selection state of that item.

constant

ControlMatchEntryType  number

Utility class containing constants. Represents how a ListBox or ComboBox searches its list as the user types.

Properties

Name Type Optional Description

FIRST_LETTER

 

 

The control searches for the next entry that starts with the character entered. Repeatedly typing the same letter cycles through all entries beginning with that letter.

COMPLETE

 

 

As each character is typed, the control searches for an entry matching all characters entered.

NONE

 

 

The list will not be searched when characters are typed.

constant

ControlMousePointerType  number

Utility class containing constants. Represents the type of icon displayed as the mouse pointer for the control.

Properties

Name Type Optional Description

DEFAULT

 

 

Standard pointer.

ARROW

 

 

Arrow.

CROSS

 

 

Cross-hair pointer.

I_BEAM

 

 

I-beam.

SIZE_NESW

 

 

Double arrow pointing northeast and southwest.

SIZE_NS

 

 

Double arrow pointing north and south.

SIZE_NWSE

 

 

Double arrow pointing northwest and southeast.

SIZE_WE

 

 

Double arrow pointing west and east.

UP_ARROW

 

 

Up arrow.

HOUR_GLASS

 

 

Hourglass.

NO_DROP

 

 

“Not” symbol (circle with a diagonal line) on top of the object being dragged.

APP_STARTING

 

 

Arrow with an hourglass.

HELP

 

 

Arrow with a question mark.

SIZE_ALL

 

 

“Size-all” cursor (arrows pointing north, south, east, and west).

CUSTOM

 

 

Uses the icon specified by the MouseIcon property.

constant

ControlPictureAlignmentType  number

Utility class containing constants. Represents the alignment of the picture inside the Form or Image.

Properties

Name Type Optional Description

TOP_LEFT

 

 

The top left corner.

TOP_RIGHT

 

 

The top right corner.

CENTER

 

 

The center.

BOTTOM_LEFT

 

 

The bottom left corner.

BOTTOM_RIGHT

 

 

The bottom right corner.

constant

ControlPicturePositionType  number

Utility class containing constants. Represents the location of the control's picture relative to its caption.

Properties

Name Type Optional Description

LEFT_TOP

 

 

The picture appears to the left of the caption. The caption is aligned with the top of the picture.

LEFT_CENTER

 

 

The picture appears to the left of the caption. The caption is centered relative to the picture.

LEFT_BOTTOM

 

 

The picture appears to the left of the caption. The caption is aligned with the bottom of the picture.

RIGHT_TOP

 

 

The picture appears to the right of the caption. The caption is aligned with the top of the picture.

RIGHT_CENTER

 

 

The picture appears to the right of the caption. The caption is centered relative to the picture.

RIGHT_BOTTOM

 

 

The picture appears to the right of the caption. The caption is aligned with the bottom of the picture.

ABOVE_LEFT

 

 

The picture appears above the caption. The caption is aligned with the left edge of the picture.

ABOVE_CENTER

 

 

The picture appears above the caption. The caption is centered below the picture.

ABOVE_RIGHT

 

 

The picture appears above the caption. The caption is aligned with the right edge of the picture.

BELOW_LEFT

 

 

The picture appears below the caption. The caption is aligned with the left edge of the picture.

BELOW_CENTER

 

 

The picture appears below the caption. The caption is centered above the picture.

BELOW_RIGHT

 

 

The picture appears below the caption. The caption is aligned with the right edge of the picture.

CENTER

 

 

The picture appears in the center of the control. The caption is centered horizontally and vertically on top of the picture.

constant

ControlPictureSizeMode  number

Utility class containing constants. Represents how to display the picture.

Properties

Name Type Optional Description

CLIP

 

 

Crops any part of the picture that is larger than the control's boundaries.

STRETCH

 

 

Stretches the picture to fill the control's area. This setting distorts the picture in either the horizontal or vertical direction.

ZOOM

 

 

Enlarges the picture, but does not distort the picture in either the horizontal or vertical direction.

constant

ControlScrollBarType  number

Utility class containing constants. Represents the type of scroll bar.

Properties

Name Type Optional Description

NONE

 

 

Displays no scroll bars.

HORIZONTAL

 

 

Displays a horizontal scroll bar.

BARS_VERTICAL

 

 

Displays a vertical scroll bar.

BARS_BOTH

 

 

Displays both a horizontal and a vertical scroll bar.

constant

ControlScrollOrientation  number

Utility class containing constants. Represents type of scroll orientation

Properties

Name Type Optional Description

AUTO

 

 

Control is rendered horizontally when the control's width is greater than its height. Control is rendered vertically otherwise.

VERTICAL

 

 

Control is rendered vertically.

HORIZONTAL

 

 

Control is rendered horizontally.

constant

ControlSpecialEffectType  number

Utility class containing constants. Represents the type of special effect.

Properties

Name Type Optional Description

FLAT

 

 

Flat

RAISED

 

 

Raised

SUNKEN

 

 

Sunken

ETCHED

 

 

Etched

BUMP

 

 

Bump

constant

ControlType  number

Utility class containing constants. Represents all type of ActiveX control.

Properties

Name Type Optional Description

COMMAND_BUTTON

 

 

Button

COMBO_BOX

 

 

ComboBox

CHECK_BOX

 

 

CheckBox

LIST_BOX

 

 

ListBox

TEXT_BOX

 

 

TextBox

SPIN_BUTTON

 

 

Spinner

RADIO_BUTTON

 

 

RadioButton

LABEL

 

 

Label

IMAGE

 

 

Image

TOGGLE_BUTTON

 

 

ToggleButton

SCROLL_BAR

 

 

ScrollBar

UNKNOWN

 

 

Unknown

constant

ConValue  number

Utility class containing constants. Specifies the type of behavior the x or y-coordinate of the control handle exhibits after the handle is moved.

Properties

Name Type Optional Description

PROPORTIONAL

 

 

Proportional. The control handle can be moved, and it also moves in proportion with the shape when it is stretched.

PROPORTIONAL_LOCKED

 

 

Proportional locked. The control handle moves in proportion with the shape, but the control handle itself cannot be moved.

OFFSET_FROM_LEFT_EDGE

 

 

Offset from left edge. The control handle is offset a constant distance from the left side of the shape.

OFFSET_FROM_CENTER

 

 

Offset from center. The control handle is offset a constant distance from the center of the shape.

OFFSET_FROM_RIGHT_EDGE

 

 

Offset from right edge. The control handle is offset a constant distance from the right side of the shape.

PROPORTIONAL_HIDDEN

 

 

Proportional, hidden.Same as 0, but the control handle is not visible.

PROPORTIONAL_LOCKED_HIDDEN

 

 

Proportional locked, hidden. Same as 1, but the control handle is not visible.

OFFSET_FROM_LEFT_EDGE_HIDDEN

 

 

Offset from left edge, hidden. Same as 2, but the control handle is not visible.

OFFSET_FROM_CENTER_HIDDEN

 

 

Offset from center, hidden. Same as 3, but the control handle is not visible.

OFFSET_FROM_RIGHT_EDGE_HIDDEN

 

 

Offset from right edge, hidden. Same as 4, but the control handle is not visible.

UNDEFINED

 

 

Undefined.

constant

CountryCode  number

Utility class containing constants. Represents Diagram country identifiers.

Properties

Name Type Optional Description

DEFAULT

 

 

USA

 

 

United States

CANADA

 

 

Canada

LATIN_AMERIC

 

 

Latin America, except Brazil

RUSSIA

 

 

Russia

EGYPT

 

 

Egypt

GREECE

 

 

Greece

NETHERLANDS

 

 

Netherlands

BELGIUM

 

 

Belgium

FRANCE

 

 

France

SPAIN

 

 

Spain

HUNGARY

 

 

Hungary

ITALY

 

 

Italy

SWITZERLAND

 

 

Switzerland

AUSTRIA

 

 

Austria

UNITED_KINGDOM

 

 

United Kingdom

DENMARK

 

 

Denmark

SWEDEN

 

 

Sweden

NORWAY

 

 

Norway

POLAND

 

 

Poland

GERMANY

 

 

Germany

MEXICO

 

 

Mexico

BRAZIL

 

 

Brazil

AUSTRALIA

 

 

Australia

NEW_ZEALAND

 

 

New Zealand

THAILAND

 

 

Thailand

JAPAN

 

 

Japan

SOUTH_KOREA

 

 

SouthKorea

VIET_NAM

 

 

Viet Nam

CHINA

 

 

People's Republic of China

TURKEY

 

 

Turkey

INDIA

 

 

India

ALGERIA

 

 

Algeria

MOROCCO

 

 

Morocco

LIBYA

 

 

Libya

PORTUGAL

 

 

Portugal

ICELAND

 

 

Iceland

FINLAND

 

 

Finland

CZECH

 

 

Czech Republic

TAIWAN

 

 

Taiwan

LEBANON

 

 

Lebanon

JORDAN

 

 

Jordan

SYRIA

 

 

Syria

IRAQ

 

 

Iraq

KUWAIT

 

 

Kuwait

SAUDI

 

 

Saudi Arabia

UNITED_ARAB_EMIRATES

 

 

United Arab Emirates

ISRAEL

 

 

Israel

QATAR

 

 

Qatar

IRAN

 

 

Iran

constant

DataConnectionType  number

Utility class containing constants. Allows to configure options for the connections to the database.

Properties

Name Type Optional Description

SQL

 

 

Usage System.Data.SqlClient.SqlConnection.

QLEDB

 

 

Usage System.Data.OleDb.OleDbConnection.

ODBC

 

 

Usage System.Data.Odbc.OdbcConnection.

UNKNOWN

 

 

Unknown type of connection.

constant

DisplayModeSmartTagDefValue  number

Utility class containing constants. DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time.

Properties

Name Type Optional Description

MOUSE_IS_PAUSED

 

 

Hides the group shape and text.

SHAPE_IS_SELECTED

 

 

Displays the group shape behind member shapes.

ALL_TIME

 

 

Displays the group shape in front of member shapes.

UNDEFINED

 

 

Undefined.

constant

DisplayModeValue  number

Utility class containing constants. When it is contained in a Group element, the DisplayMode element specifies how a group shape and its members are displayed. When it is contained in a SmartTagDef element, the DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time.

Properties

Name Type Optional Description

HIDES_SHAPE_TEXT

 

 

Hides the group shape and text.

DISPLAYS_SHAPE_BEHIND_MEMBER_SHAPES

 

 

Displays the group shape behind member shapes.

DISPLAYS_SHAPE_FRONT_MEMBER_SHAPES

 

 

Displays the group shape in front of member shapes.

UNDEFINED

 

 

Undefined.

constant

DrawingResizeTypeValue  number

Utility class containing constants. Determines whether the drawing page resizes automatically to fit the diagram.

Properties

Name Type Optional Description

DEPENDS_ON_DRAWING_SIZE_TYPE

 

 

Whether the page resizes automatically depends on the value of the DrawingSizeType cell. If DrawingSizeType = 0 (the drawing page size is the same as the size of the printed page), the page resizes automatically. If the value of DrawingSizeType is anything other than zero (0), the page does not resize automatically.

AUTOMATICALLY

 

 

The drawing page resizes automatically.

NOT_AUTOMATICALLY

 

 

The drawing page does not resize automatically.

UNDEFINED

 

 

Undefined.

constant

DrawingScaleTypeValue  number

Utility class containing constants. Specifies the type of drawing scale to use for a page.

Properties

Name Type Optional Description

NO_SCALE

 

 

No scale.

ARCHITECTURAL_SCALE

 

 

Architectural scale.

CIVIL_ENGINEERING_SCALE

 

 

Civil engineering scale.

CUSTOM_SCALE

 

 

Custom scale.

METRIC_SCALE

 

 

Metric scale.

MECHANICAL_ENGINEERING_SCALE

 

 

Mechanical engineering scale.

UNDEFINED

 

 

Undefined.

constant

DrawingSizeTypeValue  number

Utility class containing constants. Specifies the drawing size of a page.

Properties

Name Type Optional Description

SAME_AS_PRINTER

 

 

Same as printer.

FIT_PAGE_DRAW_CONTENTS

 

 

Fit page to drawing contents.

STANDARD

 

 

Standard.

CUSTOM_PAGE_SIZE

 

 

Custom page size.

CUSTOM_SCALED_DRAW_SIZE

 

 

Custom scaled drawing size.

METRIC_ISO

 

 

Metric (ISO).

ANSI_ENGINEERING

 

 

ANSI engineering.

ANSI_ARCHITECTURAL

 

 

ANSI architectural.

UNDEFINED

 

 

Undefined.

constant

DropButtonStyle  number

Utility class containing constants. Represents the symbol displayed on the drop button.

Properties

Name Type Optional Description

PLAIN

 

 

Displays a button with no symbol.

ARROW

 

 

Displays a button with a down arrow.

ELLIPSIS

 

 

Displays a button with an ellipsis (...).

REDUCE

 

 

Displays a button with a horizontal line like an underscore character.

constant

DynFeedbackValue  number

Utility class containing constants. Specifies the type of visual feedback provided to users when they drag a connector. When the mouse button is released, the resulting connector shape is not affected by this setting. This element does not apply to routable connectors.

Properties

Name Type Optional Description

REMAIN_STRAIGHT

 

 

Remain straight (no legs).

SHOW_THREE_LEGS

 

 

Show three legs when dragged.

SHOW_FIVE_LEGS

 

 

Show five legs when dragged.

UNDEFINED

 

 

Undefined.

constant

EmfRenderSetting  number

Utility class containing constants. Setting for rendering Emf metafile.

Properties

Name Type Optional Description

EMF_ONLY

 

 

Only rendering Emf records.

EMF_PLUS_PREFER

 

 

Prefer rendering EmfPlus records.

constant

FileFormatType  number

Utility class containing constants. Enumerates spreadsheet file format types

Properties

Name Type Optional Description

VDX

 

 

MS Visio VDX xml format.

VSD

 

 

MS Visio VSD binary format.

VSX

 

 

MS Visio VSX xml stencil format.

VSS

 

 

MS Visio VSS binary stencil format.

VTX

 

 

MS Visio VTX xml template format.

VST

 

 

MS Visio VST binary template format.

VDW

 

 

MS Visio VDW web drawing format.

VSDX

 

 

MS Visio 2013 VSDX file format.

VSTX

 

 

MS Visio 2013 VSTX Template file format.

VSSX

 

 

MS Visio 2013 VSSX file format.

CSV

 

 

Represents a CSV file. The file format is not supported Only for detecting file type.

XLSX

 

 

Represents an xlsx file. The file format is not supported Only for detecting file type.

XLSM

 

 

Represents an xlsm file which enable macros. The file format is not supported Only for detecting file type.

XLTX

 

 

Represents a template xltx file. The file format is not supported Only for detecting file type.

XLTM

 

 

Represents a macro-enabled template xltm file. The file format is not supported Only for detecting file type.

XLAM

 

 

Represents a addinMacro-enabled template xltm file. The file format is not supported Only for detecting file type.

TAB_DELIMITED

 

 

Represents a tab delimited text file. The file format is not supported Only for detecting file type.

HTML

 

 

Represents a html file.

ODS

 

 

Represents a ods file. The file format is not supported Only for detecting file type.

EXCEL_97_TO_2003

 

 

Represents an Excel97-2003 xls file. The file format is not supported Only for detecting file type.

EXCEL_2003_XML

 

 

Represents an Excel 2003 xml file. The file format is not supported Only for detecting file type.

XLSB

 

 

Represents an xlsb file. The file format is not supported Only for detecting file type.

UNKNOWN

 

 

Represents unrecognized format, cannot be loaded.

PDF

 

 

Represents a Pdf file.

XPS

 

 

Represents an XPS file.

TIFF

 

 

Represents a TIFF file.

SVG

 

 

Represents a svg file.

DOCX

 

 

Represents a docx file. The file format is not supported Only for detecting file type.

DIF

 

 

Data Interchange Format.

DOC

 

 

Represents a doc file. The file format is not supported Only for detecting file type.

PPT

 

 

Represents a ppt file. The file format is not supported Only for detecting file type.

MAPI_MESSAGE

 

 

Represents a email file. The file format is not supported Only for detecting file type.

MS_EQUATION

 

 

Represents the MS Equation 3.0 object. The file format is not supported Only for detecting file type.

OLE_10_NATIVE

 

 

Represents the embedded native object. The file format is not supported Only for detecting file type.

DOCM

 

 

Represents a docm file. The file format is not supported Only for detecting file type.

DOTX

 

 

Represents a dotx file. The file format is not supported Only for detecting file type.

DOTM

 

 

Represents a dotm file. The file format is not supported Only for detecting file type.

PPTM

 

 

Represents a pptm file. The file format is not supported Only for detecting file type.

POTX

 

 

Represents a Potx file. The file format is not supported Only for detecting file type.

POTM

 

 

Represents a Potm file. The file format is not supported Only for detecting file type.

PPSX

 

 

Represents a ppsx file. The file format is not supported Only for detecting file type.

PPSM

 

 

Represents a ppsm file. The file format is not supported Only for detecting file type.

OOXML

 

 

Represents office open xml file(such as xlsx, docx,pptx, etc). The file format is not supported Only for detecting file type. If the office open xml file is encrypted, it could not be detected as xlsx ,docx, pptx,etc.

VSDM

 

 

MS Visio 2013 VSDM file format.

VSSM

 

 

MS Visio 2013 VSSM file format.

VSTM

 

 

MS Visio 2013 VSTM file format.

XML

 

 

Represents an simple xml file. The file format is not supported Only for detecting file type.

SLDX

 

 

Represents a sldx file. The file format is not supported Only for detecting file type.

PPTX

 

 

Represents a pptx file. The file format is not supported Only for detecting file type.

BMP

 

 

Represents a BMP file. The file format is not supported Only for detecting file type.

EMF

 

 

Windows Enhanced Metafile.

WMF

 

 

Windows Metafile.

JPG

 

 

JPEG JFIF.

PNG

 

 

Portable Network Graphics.

GIF

 

 

Gif

constant

FillType  number

Utility class containing constants. Fill format type.

Properties

Name Type Optional Description

AUTOMATIC

 

 

Represents automatic formatting type.

NONE

 

 

Represents none formatting type.

SOLID

 

 

Solid fill format.

GRADIENT

 

 

Gradient fill format.

TEXTURE

 

 

Texture fill format.

PATTERN

 

 

Pattern fill format.

constant

FontSourceType  number

Utility class containing constants. Specifies the type of a font source.

Properties

Name Type Optional Description

FONT_FILE

 

 

represents single font file.

FONTS_FOLDER

 

 

represents folder with font files.

MEMORY_FONT

 

 

represents single font in memory.

constant

ForeignType  number

Utility class containing constants. Data type.

Properties

Name Type Optional Description

OBJECT

 

 

Object.

ENH_METAFILE

 

 

Enhanced Metafile.

METAFILE

 

 

Metafile.

BITMAP

 

 

Bitmap.

INK

 

 

Ink.

UNDEFINED

 

 

Undefined.

constant

FromPartValue  number

Utility class containing constants. The part of a shape from which a connection originates.

Properties

Name Type Optional Description

NONE

 

 

None.

LEFT_EDGE

 

 

Left edge.

CENTER_EDGE

 

 

Center edge.

RIGHT_EDGE

 

 

Right Edge.

BOTTOM_EDGE

 

 

Bottom Edge.

MIDDLE_EDGE

 

 

Middle Edge.

TOP_EDGE

 

 

Top Edge.

BEGIN_X_CELL

 

 

BeginX cell.

BEGIN_Y_CELL

 

 

BeginY Cell.

BEGIN_X_OR_BEGIN_Y_POINT

 

 

BeginX/BeginY point.

END_X_CELL

 

 

EndX cell.

END_Y_CELL

 

 

EndY cell.

END_X_OR_END_Y_POINT

 

 

EndX/EndY point.

CONTROL_POINT

 

 

Control point.

UNDEFINED

 

 

Undefined.

constant

GluedShapesFlags  number

Utility class containing constants. Specifies constants that identify which shapes to return, based on the dimensionality and directionality of the connection points that are glued to a particular shape; passed to the Shape.GluedShapes method.

Properties

Name Type Optional Description

GLUED_SHAPES_ALL_1_D

 

 

Return IDs of all 1-D shapes that are glued to this shape.

GLUED_SHAPES_INCOMING_1_D

 

 

Return IDs of 1-D shapes whose end points are glued to this shape.

GLUED_SHAPES_OUTGOING_1_D

 

 

Return IDs of 1-D shapes whose begin points are glued to this shape.

GLUED_SHAPES_ALL_2_D

 

 

Return all 2-D shapes that are glued to this shape and all 2-D shapes to which this shape is glued.

GLUED_SHAPES_INCOMING_2_D

 

 

If the source object is a 1-D shape, return IDs of 2-D shape to which the begin point is glued. If the source object is a 2-D shape, return IDs of 2-D shapes that are glued to this shape.

GLUED_SHAPES_OUTGOING_2_D

 

 

If the source object is a 1-D shape, return IDs of 2-D shape to which the end point is glued. If the source object is a 2-D shape, return IDs of 2-D shapes to which this shape is glued.

constant

GlueSettings  number

Utility class containing constants. The bit values indicate that a specific glue setting is on or off. The value may be a sum of the values:

Properties

Name Type Optional Description

NONE

 

 

Glue is enabled, but no other glue settings are enabled.

GUIDES

 

 

Glue to guides.

HANDLES

 

 

Glue to handles.

VERTICES

 

 

Glue to vertices.

CONNECTION_POINTS

 

 

Glue to connection points.

GEOMETRY

 

 

Glue to geometry.

DISABLED

 

 

Glue is disabled

UNDEFINED

 

 

Undefined.

constant

GlueSettingsValue  number

Utility class containing constants. Specifies the objects that shapes glue to when glue is enabled in the document.

Properties

Name Type Optional Description

GLUE_IS_ENABLED

 

 

Glue is enabled, but no other glue settings are enabled.

GLUE_TO_GUIDES

 

 

Glue to guides.

GLUE_TO_HANDLES

 

 

Glue to handles.

GLUE_TO_VERTICES

 

 

Glue to vertices.

GLUE_TO_CONNECTION_POINTS

 

 

Glue to connection points.

GLUE_TO_GEOMETRY

 

 

Glue to geometry.

GLUE_IS_DISABLED

 

 

Glue is disabled.

UNDEFINED

 

 

Undefined.

constant

GlueTypeValue  number

Utility class containing constants. Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape.

Properties

Name Type Optional Description

ALLOW_DYNAMIC_GLUE_FOR_DYNAMIC_CONNECTOR

 

 

Default. Allow dynamic glue for the dynamic connector only; otherwise, use static glue.

ALLOW_DYNAMIC_GLUE_2002

 

 

Allow dynamic glue (obsolete in Microsoft Visio 2002).

ALLOW_DYNAMIC_GLUE

 

 

Allow dynamic glue.

NO_ALLOW_DYNAMIC_GLUE

 

 

Do not allow dynamic glue.

NO_ALLOW_2_D_SHAPE

 

 

Do not allow this 2-D shape to be connected to using dynamic glue.

UNDEFINED

 

 

Undefined.

constant

GradientDirectionType  number

Utility class containing constants. Represents all direction type of gradient.

Properties

Name Type Optional Description

FROM_UPPER_LEFT_CORNER

 

 

FromUpperLeftCorner

FROM_UPPER_RIGHT_CORNER

 

 

FromUpperRightCorner

FROM_LOWER_LEFT_CORNER

 

 

FromLowerLeftCorner

FROM_LOWER_RIGHT_CORNER

 

 

FromLowerRightCorner

FROM_CENTER

 

 

FromCenter

UNKNOWN

 

 

Unknown

constant

GradientFillDir  number

Utility class containing constants. Specifies the type of the fill color gradient of a shape

Properties

Name Type Optional Description

LINEAR

 

 

Specifies a linear fill color gradient.

RADIAL_FROM_BOTTOM_RIGHT

 

 

Specifies the fill color gradient of the shape is in radial mode from the bottom right corner of the shape

RADIAL_FROM_BOTTOM_LEFT

 

 

Specifies the fill color gradient of the shape is in radial mode from the bottom left corner of the shape

RADIAL_FROM_CENTER

 

 

Specifies the fill color gradient of the shape is in radial mode from the center of the shape.

RADIAL_FROM_CENTER_BOTTOM

 

 

Specifies the fill color gradient of the shape is in radial mode from the center of the bottom edge of the shape.

RADIAL_FROM_CENTER_TOP

 

 

Specifies the fill color gradient of the shape is in radial mode from the center of the top edge of the shape

RADIAL_FROM_TOP_RIGHT

 

 

Specifies the fill color gradient of the shape is in radial mode from the top right corner of the shape

RADIAL_FROM_TOP_LEFT

 

 

Specifies the fill color gradient of the shape is in radial mode from the top left corner of the shape

RECTANGLE_FROM_BOTTOM_RIGHT

 

 

Specifies the fill color gradient of the shape is in rectangle mode from the bottom right corner of the shape

RECTANGLE_FROM_BOTTOM_LEFT

 

 

Specifies the fill color gradient of the shape is in rectangle mode from the bottom left corner of the shape

RECTANGLE_FROM_CENTER

 

 

Specifies the fill color gradient of the shape is in rectangle mode from the center of the shape.

RECTANGLE_FROM_TOP_RIGHT

 

 

Specifies the fill color gradient of the shape is in rectangle mode from the top right corner of the shape

RECTANGLE_FROM_TOP_LEFT

 

 

Specifies the fill color gradient of the shape is in rectangle mode from the top left corner of the shape

PATH

 

 

Specifies the fill color gradient of the shape is in path mode

constant

GradientFillType  number

Utility class containing constants. Represents all Gradient fill type.

Properties

Name Type Optional Description

LINEAR

 

 

Linear

RADIAL

 

 

Radial

RECTANGLE

 

 

Rectangle

PATH

 

 

Path

constant

GradientStyleType  number

Utility class containing constants. Represents gradient shading style.

Properties

Name Type Optional Description

DIAGONAL_DOWN

 

 

Diagonal down shading style

DIAGONAL_UP

 

 

Diagonal up shading style

FROM_CENTER

 

 

From center shading style

FROM_CORNER

 

 

From corner shading style

HORIZONTAL

 

 

Horizontal shading style

VERTICAL

 

 

Vertical shading style

UNKNOWN

 

 

Unknown shading style.Only for the shading style(which is not for any memeber of the GradientStyleType) in the template file.

constant

GridDensityValue  number

Utility class containing constants. Specifies the type of horizontal/vertical grid to use for a page.

Properties

Name Type Optional Description

FIXED

 

 

Fixed.

COARSE

 

 

Coarse.

NORMAL

 

 

Normal. Default.

FINE

 

 

Fine

UNDEFINED

 

 

Undefined.

constant

HorzAlignValue  number

Utility class containing constants. Specifies the horizontal alignment of text in the shape's text block.

Properties

Name Type Optional Description

LEFT_ALIGN

 

 

Left align.

CENTER

 

 

Center.

RIGHT_ALIGN

 

 

Right align.

JUSTIFY

 

 

Justify.

FORCE_JUSTIFY

 

 

Force justify.

UNDEFINED

 

 

Undefined.

constant

IconSizeValue  number

Utility class containing constants. Optional int. The size of the element's icon.

Properties

Name Type Optional Description

NORMAL

 

 

Normal.

TALL

 

 

Tall.

WIDE

 

 

Wide.

DOUBLE

 

 

Double.

UNDEFINED

 

 

Undefined.

constant

ImageColorMode  number

Utility class containing constants. Specifies the color mode for the generated images of document pages.

Properties

Name Type Optional Description

NONE

 

 

The pages of the document will be rendered as color images.

GRAYSCALE

 

 

The pages of the document will be rendered as grayscale images.

BLACK_AND_WHITE

 

 

The pages of the document will be rendered as black and white images.

constant

InputMethodEditorMode  number

Utility class containing constants. Represents the default run-time mode of the Input Method Editor.

Properties

Name Type Optional Description

NO_CONTROL

 

 

Does not control IME.

ON

 

 

IME on.

OFF

 

 

IME off. English mode.

DISABLE

 

 

IME off.User can't turn on IME by keyboard.

HIRAGANA

 

 

IME on with Full-width hiragana mode.

KATAKANA

 

 

IME on with Full-width katakana mode.

KATAKANA_HALF

 

 

IME on with Half-width katakana mode.

ALPHA_FULL

 

 

IME on with Full-width Alphanumeric mode.

ALPHA

 

 

IME on with Half-width Alphanumeric mode.

HANGUL_FULL

 

 

IME on with Full-width hangul mode.

HANGUL

 

 

IME on with Half-width hangul mode.

HANZI_FULL

 

 

IME on with Full-width hanzi mode.

HANZI

 

 

IME on with Half-width hanzi mode.

constant

InterpolationMode  number

Utility class containing constants. The InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.

Properties

Name Type Optional Description

INVALID

 

 

Equivalent to the Invalid element of the QualityMode enumeration.

DEFAULT

 

 

Specifies default mode.

LOW

 

 

Specifies low quality interpolation.

HIGH

 

 

Specifies high quality interpolation.

BILINEAR

 

 

Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.

BICUBIC

 

 

Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.

NEAREST_NEIGHBOR

 

 

Specifies nearest-neighbor interpolation.

HIGH_QUALITY_BILINEAR

 

 

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

HIGH_QUALITY_BICUBIC

 

 

Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

constant

LayoutDirection  number

Utility class containing constants. Used to set direction of layout.

Properties

Name Type Optional Description

TOP_TO_BOTTOM

 

 

Places shape from top to bottom. It makes sense only when Flowchart style is chosen.

BOTTOM_TO_TOP

 

 

Places shape from bottom to top. It makes sense only when Flowchart style is chosen.

LEFT_TO_RIGHT

 

 

Places shape from left to right . It makes sense only when Flowchart style is chosen.

RIGHT_TO_LEFT

 

 

Places shape from right to left. It makes sense only when Flowchart style is chosen.

DOWN_THEN_RIGHT

 

 

Places shapes first to the down and then right. It makes sense only when CompactTree style is chosen.

RIGHT_THEN_DOWN

 

 

Places shapes first to the right and then down. It makes sense only when CompactTree style is chosen.

LEFT_THEN_DOWN

 

 

Places shapes first to the left and then down. It makes sense only when CompactTree style is chosen.

DOWN_THEN_LEFT

 

 

Places shapes first to the down and then left. It makes sense only when CompactTree style is chosen.

constant

LayoutStyle  number

Utility class containing constants. Used to specify style of layout.

Properties

Name Type Optional Description

FLOW_CHART

 

 

Flowchart style.

COMPACT_TREE

 

 

Tree style.

RADIAL

 

 

Radial style.

CIRCULAR

 

 

Circular style.

constant

LightRigDirectionType  number

Utility class containing constants. Represents the light rig direction type.

Properties

Name Type Optional Description

BOTTOM

 

 

Bottom

BOTTOM_LEFT

 

 

Bottom left.

BOTTOM_RIGHT

 

 

Bottom Right.

LEFT

 

 

Left.

RIGHT

 

 

Right.

TOP

 

 

Top.

TOP_LEFT

 

 

Top left.

TOP_RIGHT

 

 

Top Right.

constant

LineAdjustFromValue  number

Utility class containing constants. Specifies which dynamic connectors to space apart if they route on top of each other.

Properties

Name Type Optional Description

UNRELATED_LINES

 

 

Unrelated lines.

ALL_LINES

 

 

All lines.

NO_LINES

 

 

No lines.

ROUTING_STYLE_DEFAULT

 

 

Routing style default.

UNDEFINED

 

 

Undefined.

constant

LineAdjustToValue  number

Utility class containing constants. Specifies which dynamic connectors to line up on top of one another if they route on top of each other.

Properties

Name Type Optional Description

ROUTING_STYLE_DEFAULT

 

 

Routing style default.

ALL_LINES_CLOSE

 

 

All lines that are close to each other.

NO_LINES

 

 

No lines.

RELATEDLINES

 

 

Related lines.

UNDEFINED

 

 

Undefined.

constant

LineJumpCodeValue  number

Utility class containing constants. Determines the dynamic connectors to which you want to add jumps.

Properties

Name Type Optional Description

NONE

 

 

None.

HORIZONTAL_LINES

 

 

Horizontal lines.

VERTICAL_LINES

 

 

Vertical lines.

LAST_ROUTED_LINE

 

 

Last routed line.

LAST_DISPLAYED_LINE

 

 

Last displayed line (top shape in the display order).

FIRST_DISPLAYED_LINE

 

 

First displayed line (bottom shape in the display order).

UNDEFINED

 

 

Undefined.

constant

LineJumpStyleValue  number

Utility class containing constants. Specifies the line jump style for all connectors on the drawing page that don't have a local line jump style.

Properties

Name Type Optional Description

DEFAULT

 

 

Default.

ARC

 

 

Arc.

GAP

 

 

Gap.

SQUARE

 

 

Square.

SIDES_2

 

 

2 Sides.

SIDES_3

 

 

3 Sides.

SIDES_4

 

 

4 Sides.

SIDES_5

 

 

5 Sides.

SIDES_6

 

 

6 Sides.

SIDES_7

 

 

7 Sides.

UNDEFINED

 

 

Undefined.

constant

LineRouteExtValue  number

Utility class containing constants. Specifies the default appearance for all connectors on a page.

Properties

Name Type Optional Description

DEFAULT

 

 

Default.

STRAIGHT

 

 

Straight.

CURVED

 

 

Curved.

UNDEFINED

 

 

Undefined.

constant

LoadDataFilterOptions  number

Utility class containing constants. Represents the options to filter data when loading diagram from template.

Properties

Name Type Optional Description

ALL

 

 

Load all

DOCUMENT_PROPERTIES

 

 

Load document properties

VBA

 

 

Load VBA projects

SOLUTION_XML

 

 

Load SolutionXML

FONT

 

 

Load Font

constant

LoadFileFormat  number

Utility class containing constants. Enumeration for loading diagram format selection.

Properties

Name Type Optional Description

VDX

 

 

MS Visio VDX xml format.

VSD

 

 

MS Visio Vsd binary format.

VSX

 

 

MS Visio Vsx xml stencil format.

VSS

 

 

MS Visio Vss binary stencil format.

VTX

 

 

MS Visio Vtx xml template format.

VST

 

 

MS Visio Vst binary template format.

VDW

 

 

MS Visio Vdw web drawing format.

VSDX

 

 

MS Visio 2013 Vsdx file format.

VSTX

 

 

MS Visio 2013 Vstx Template file format.

VSSX

 

 

MS Visio 2013 Vssx file format.

VSDM

 

 

MS Visio Vsdm file format which enable macros.

VSSM

 

 

MS Visio Vssm file format which enable macros.

VSTM

 

 

MS Visio Vstm file format which enable macros.

HTML

 

 

Html.

constant

LocalizeFontValue  number

Utility class containing constants. Specifies whether the shape text should be localized (translated into another language).

Properties

Name Type Optional Description

LOCALIZE_FONT_ONLY_ARIAL_SYMBOL

 

 

Localize the font only if it is Arial or Symbol (the default).

ALWAYS_LOCALIZE_FONT

 

 

Always localize the font.

NEVER_LOCALIZE_FONT

 

 

Never localize the font.

UNDEFINED

 

 

Undefined.

constant

MeasureConst  number

Utility class containing constants. Units of
measure.

Properties

Name Type Optional Description

AC

 

 

Acre.

C

 

 

Ciceros.

C_D

 

 

Ciceros/didits.

CM

 

 

Centimetres.

D

 

 

Didots.

DL

 

 

Default length units.

DP

 

 

Default page units.

DT

 

 

Default type units.

F_I

 

 

Feet/inch.

FT

 

 

Feet.

HA

 

 

Hectare.

IN

 

 

Inches.

IN_F

 

 

Inches fractional.

KM

 

 

Kilometres.

M

 

 

Metres.

MI

 

 

Miles.

MI_F

 

 

Milest fractional.

MM

 

 

Milimetres.

NM

 

 

Nautical miles.

P

 

 

Picas.

PT

 

 

Points.

P_PT

 

 

Picas/points.

YD

 

 

Yards.

AD

 

 

Degrees.

AM

 

 

Minutes.

AS

 

 

Seconds.

DA

 

 

Default angle units.

DEG

 

 

Fractional degree.

RAD

 

 

Radians.

DE

 

 

Default duration units.

ED

 

 

Elapsed days.

EH

 

 

Elapsed hours.

EM

 

 

Elapsed minutes.

ES

 

 

Elapsed seconds.

EW

 

 

Elapsed weeks.

DATE

 

 

Date and time.

BOOL

 

 

Boolean.

COLOR

 

 

A color value.

CY

 

 

Currency.

GUID

 

 

A global unique identifier.

MULTIDIM

 

 

Multidimential value.

NUM

 

 

Number.

NURBS

 

 

Nurbs curve data.

PER

 

 

Percent.

PNT

 

 

2-D coordinate.

POLYLINE

 

 

Polyline point data.

STR

 

 

String.

UNDEFINED

 

 

Undefined.

constant

ObjectKindValue  number

Utility class containing constants. Indicates the type of text field.

Properties

Name Type Optional Description

STANDARD

 

 

Standard.

HORIZONTAL_IN_VERTICAL

 

 

Horizontal in vertical.

UNDEFINED

 

 

Undefined.

constant

ObjectType  number

Utility class containing constants. If the ForeignType attribute is "Object", the ForeignData element must also have an ObjectType attribute.

Properties

Name Type Optional Description

LINKED_OBJECT

 

 

Linked object.

EMBEDDED_OBJECT

 

 

Embedded object.

CONTROL

 

 

Control.

OLE_2_NAMED

 

 

OLE2 named.

OLE_2_OBJECT

 

 

OLE2 object.

UNDEFINED

 

 

Undefined.

constant

ObjTypeValue  number

Utility class containing constants. Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the drawing page.

Properties

Name Type Optional Description

DRAWING_CONTEXT

 

 

Visio decides based on the drawing context.

SHAPE_PLACEABLE

 

 

Shape is placeable.

SHAPE_ROUTABLE

 

 

Shape is routable.

SHAPE_NOT_PLACEABLE_NOT_ROUTABLE

 

 

Shape is not placeable, not routable.

SHAPE_PLACEABLE_ROUTABLE

 

 

Group contains placeable/routable shapes.

UNDEFINED

 

 

Undefined.

constant

OptionsValue  number

Utility class containing constants. Optional unsigned integer. Options to apply to the data recordset. Possible values can be any combination of one or more of those shown in the following table.

Properties

Name Type Optional Description

NO_EXTERNAL_DATA_UI

 

 

Prevents data in the data recordset from being displayed in the External Data window.

NO_ADV_CONFIG

 

 

Limits the control users have of how the data recordset is refreshed in the Configure Refresh dialog box for the data recordset. In particular, users cannot change the primary key or specify when shape data should be overwritten; however, users can set the refresh interval and can change the data source.

NO_REFRESH_UI

 

 

Prevents the data recordset from being displayed in the Refresh Data dialog box.

NO_LINK_ON_PASTE

 

 

Does not copy shape-data links to the Clipboard when shapes are copied or cut.

DELAY_QUERY

 

 

Does not execute the command-string query until the next time the data recordset is refreshed.

UNDEFINED

 

 

Undefined.

constant

OutputFormatValue  number

Utility class containing constants. Specifies the output format for a drawing.

Properties

Name Type Optional Description

DEFAULT_PRINT

 

 

Default. Print.

POWER_POINT_SLIDE_SHOW

 

 

PowerPoint slide show.

HTML_OR_GIF_OUTPUT

 

 

HTML or GIF output.

UNDEFINED

 

 

Undefined.

constant

PageLineJumpDirXValue  number

Utility class containing constants. Specifies the direction of line jumps on horizontal segments of dynamic connectors on the drawing page for which you haven't applied a local jump direction.

Properties

Name Type Optional Description

DEFAULT_UP

 

 

Default Up.

UP

 

 

Up.

DOWN

 

 

Down

UNDEFINED

 

 

Undefined.

constant

PageLineJumpDirYValue  number

Utility class containing constants. Specifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven't applied a local jump direction.

Properties

Name Type Optional Description

DEFAULTLEFT

 

 

Default left.

LEFT

 

 

Left.

RIGHT

 

 

Right.

UNDEFINED

 

 

Undefined.

constant

PaperSizeFormat  number

Utility class containing constants. Enumeration for saving paper size format selection.

Properties

Name Type Optional Description

CUSTOM

 

 

Custom paper size format.

A_0

 

 

A0 paper size format(841mm x 1189mm).

A_1

 

 

A1 paper size format(594mm x 841mm).

A_2

 

 

A2 paper size format(420mm x 594mm).

A_3

 

 

A3 paper size format(297mm x 420mm).

A_4

 

 

A4 paper size format(210mm x 297mm).

A_5

 

 

A5 paper size format(148mm x 210mm).

A_6

 

 

A6 paper size format(105mm x 148mm).

A_7

 

 

A7 paper size format(74mm x 105mm).

B_0

 

 

B0 paper size format(1000mm x 1414mm).

B_1

 

 

B1 paper size format(707mm x 1000mm).

B_2

 

 

B2 paper size format(500mm x 707mm).

B_3

 

 

B3 paper size format(353mm x 500mm).

B_4

 

 

B4 paper size format(250mm x 353mm).

B_5

 

 

B5 paper size format(176mm x 250mm).

B_6

 

 

B6 paper size format(125mm x 176mm).

B_7

 

 

B7 paper size format(88mm x 125mm).

C_0

 

 

C0 paper size format(917mm x 1297mm).

C_1

 

 

C1 paper size format(648mm x 917mm).

C_2

 

 

C2 paper size format(458mm x 648mm).

C_3

 

 

C3 paper size format(324mm x 458mm).

C_4

 

 

C4 paper size format(229mm x 324mm).

C_5

 

 

C5 paper size format(162mm x 229mm).

C_6

 

 

C6 paper size format(114mm x 162mm).

C_7

 

 

C7 paper size format(81mm x 114mm).

LETTER

 

 

Letter paper size format(215.9mm x 279.7mm).

LEGAL

 

 

Legal paper size format(215.9mm x 355.6mm).

LEGAL_13

 

 

Legal13 paper size format(215.9mm x 330.2mm).

TABLOID

 

 

Tabloid paper size format(279.4mm x 431.8mm).

EXECUTIVE

 

 

Executive paper size format(184.15mm x 266.7mm).

DL

 

 

DL paper size format(110mm x 220mm).

COM_9

 

 

COM9 paper size format(98.4mm x 225.4mInterpolationMode:Invalidm).

COM_10

 

 

COM10 paper size format(104.78mm x 241.3mm).

MONARCH

 

 

Monarch paper size format(98.4mm x 190.5mm).

constant

PdfCompliance  number

Utility class containing constants. Specifies the PDF compliance level to output file.

Properties

Name Type Optional Description

PDF_15

 

 

The output file will be PDF 1.5 compliant.

PDF_A_1_A

 

 

The output file will be PDF/A-1a compliant.

PDF_A_1_B

 

 

The output file will be PDF/A-1b compliant.

constant

PdfDigitalSignatureHashAlgorithm  number

Utility class containing constants. Specifies digital hash algorithm used by digital signature.

Properties

Name Type Optional Description

SHA_1

 

 

SHA-1 hash algorithm.

SHA_256

 

 

SHA-256 hash algorithm.

SHA_384

 

 

SHA-384 hash algorithm.

SHA_512

 

 

SHA-512 hash algorithm.

MD_5

 

 

SHA-1 hash algorithm.

constant

PdfEncryptionAlgorithm  number

Utility class containing constants. Specifies the encryption algorithm to use for encrypting a PDF document.

Properties

Name Type Optional Description

RC_4_40

 

 

RC4 encryption, key length of 40 bits.

RC_4_128

 

 

RC4 encryption, key length of 128 bits.

constant

PdfPermissions  number

Utility class containing constants. Specifies user permissions for PDF document.

Properties

Name Type Optional Description

DISALLOW_ALL

 

 

Disallows all operations on the PDF document. This is the default value.

PRINTING

 

 

Allows printing the document.

MODIFY_CONTENTS

 

 

Allows modifying the document’s contents.

CONTENT_COPY

 

 

Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes.

MODIFY_ANNOTATIONS

 

 

Allows adding or modifying text annotations. When using RC4 40-bit encryption, this option also allows filling in form fields.

FILL_IN

 

 

Allows filling in forms and signing the document. When using RC4 40-bit encryption, this option is ignored and filling in form is allowed whenever ModifyAnnotations is set.

CONTENT_COPY_FOR_ACCESSIBILITY

 

 

Allows extract text and graphics in support of accessibility to disabled users or for other purposes. When using RC4 40-bit encryption, this option is ignored and accessibility is allowed whenever ContentCopy is set.

DOCUMENT_ASSEMBLY

 

 

Allows assembling the document: inserting, rotating, or deleting pages and creating navigation elements such as bookmarks or thumbnail images. When using RC4 40-bit encryption, this option is ignored and document assembly is allowed when ModifyContents is set.

HIGH_RESOLUTION_PRINTING

 

 

Allows printing the document to the highest resolution possible.When using RC4 40-bit encryption, this option is ignored and high resolution printing is allowed when Printing is set.

ALLOW_ALL

 

 

Allows all operations on the PDF document.

constant

PdfTextCompression  number

Utility class containing constants. Specifies a type of compression applied to all content in the PDF file except images.

Properties

Name Type Optional Description

NONE

 

 

No compression.

FLATE

 

 

Flate (ZIP) compression.

constant

PinPosValue  number

Utility class containing constants. Specifies the pin position for the shape.

Properties

Name Type Optional Description

TOP_LEFT

 

 

left-top

TOP_CENTER

 

 

top-center

TOP_RIGHT

 

 

top-right

CENTER_LEFT

 

 

center-left.

CENTER_CENTER

 

 

center-center

CENTER_RIGHT

 

 

center-right

BOTTOM_LEFT

 

 

bottom-left.

BOTTOM_CENTER

 

 

bottom-center

BOTTOM_RIGHT

 

 

bottom-right

UNDEFINED

 

 

Undefined.

constant

PixelOffsetMode  number

Utility class containing constants. Specifies how pixels are offset during rendering.

Properties

Name Type Optional Description

INVALID

 

 

Specifies an invalid mode.

DEFAULT

 

 

Specifies the default mode.

HIGH_SPEED

 

 

Specifies high speed, low quality rendering.

HIGH_QUALITY

 

 

Specifies high quality, low speed rendering.

NONE

 

 

Specifies no pixel offset.

HALF

 

 

Specifies that pixels are offset by -.5 units, both horizontally and vertically, for high speed antialiasing.

constant

PlaceDepthValue  number

Utility class containing constants. For a drawing that is laid out automatically, specifies the method by which the drawing is analyzed before creating the layout and determines the type of layout.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

MEDIUM

 

 

Medium.

DEEP

 

 

Deep.

SHALLOW

 

 

Shallow.

UNDEFINED

 

 

Undefined.

constant

PlaceFlipValue  number

Utility class containing constants. Specifies how placeable shapes flip and/or rotate on a page when shapes are laid out using the Lay Out Shapes command in Microsoft Visio. The following hexadecimal values are allowed.

Properties

Name Type Optional Description

DEFAULT_NO_FLIP

 

 

Default. Do not flip.

FLIP_HORIZONTAL

 

 

Flip horizontal.

FLIP_VERTICAL

 

 

Flip vertical.

FLIP_90_INCREMENTS

 

 

Flip in 90-degree increments.

NO_FLIP

 

 

No flip.

UNDEFINED

 

 

Undefined.

constant

PlaceStyleValue  number

Utility class containing constants. Specifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu).

Properties

Name Type Optional Description

DEFAULT_RADIAL

 

 

Default. Radial.

TOP_TO_BOTTOM

 

 

Top to bottom.

LEFT_TO_RIGHT

 

 

Left to right.

RADIAL

 

 

Radial.

BOTTOM_TO_TOP

 

 

Bottom to top.

RIGHT_TO_LEFT

 

 

Right to left.

CIRCULAR

 

 

Circular.

UNDEFINED

 

 

Undefined.

constant

PosValue  number

Utility class containing constants. Specifies the position of the shape's text relative to the baseline.

Properties

Name Type Optional Description

NORMAL_POSITION

 

 

Normal position.

SUPERSCRIPT

 

 

Superscript.

SUBSCRIPT

 

 

Subscript.

UNDEFINED

 

 

Undefined.

constant

PresetCameraType  number

Utility class containing constants. Represent different algorithmic methods for setting all camera properties, including position.

Properties

Name Type Optional Description

ISOMETRIC_BOTTOM_DOWN

 

 

ISOMETRIC_BOTTOM_UP

 

 

ISOMETRIC_LEFT_DOWN

 

 

ISOMETRIC_LEFT_UP

 

 

ISOMETRIC_OFF_AXIS_1_LEFT

 

 

ISOMETRIC_OFF_AXIS_1_RIGHT

 

 

ISOMETRIC_OFF_AXIS_1_TOP

 

 

ISOMETRIC_OFF_AXIS_2_LEFT

 

 

ISOMETRIC_OFF_AXIS_2_RIGHT

 

 

ISOMETRIC_OFF_AXIS_2_TOP

 

 

ISOMETRIC_OFF_AXIS_3_BOTTOM

 

 

ISOMETRIC_OFF_AXIS_3_LEFT

 

 

ISOMETRIC_OFF_AXIS_3_RIGHT

 

 

ISOMETRIC_OFF_AXIS_4_BOTTOM

 

 

ISOMETRIC_OFF_AXIS_4_LEFT

 

 

ISOMETRIC_OFF_AXIS_4_RIGHT

 

 

ISOMETRIC_RIGHT_DOWN

 

 

ISOMETRIC_RIGHT_UP

 

 

ISOMETRIC_TOP_DOWN

 

 

ISOMETRIC_TOP_UP

 

 

LEGACY_OBLIQUE_BOTTOM

 

 

LEGACY_OBLIQUE_BOTTOM_LEFT

 

 

LEGACY_OBLIQUE_BOTTOM_RIGHT

 

 

LEGACY_OBLIQUE_FRONT

 

 

LEGACY_OBLIQUE_LEFT

 

 

LEGACY_OBLIQUE_RIGHT

 

 

LEGACY_OBLIQUE_TOP

 

 

LEGACY_OBLIQUE_TOP_LEFT

 

 

LEGACY_OBLIQUE_TOP_RIGHT

 

 

LEGACY_PERSPECTIVE_BOTTOM

 

 

LEGACY_PERSPECTIVE_BOTTOM_LEFT

 

 

LEGACY_PERSPECTIVE_BOTTOM_RIGHT

 

 

LEGACY_PERSPECTIVE_FRONT

 

 

LEGACY_PERSPECTIVE_LEFT

 

 

LEGACY_PERSPECTIVE_RIGHT

 

 

LEGACY_PERSPECTIVE_TOP

 

 

LEGACY_PERSPECTIVE_TOP_LEFT

 

 

LEGACY_PERSPECTIVE_TOP_RIGHT

 

 

OBLIQUE_BOTTOM

 

 

OBLIQUE_BOTTOM_LEFT

 

 

OBLIQUE_BOTTOM_RIGHT

 

 

OBLIQUE_LEFT

 

 

OBLIQUE_RIGHT

 

 

OBLIQUE_TOP

 

 

OBLIQUE_TOP_LEFT

 

 

OBLIQUE_TOP_RIGHT

 

 

ORTHOGRAPHIC_FRONT

 

 

PERSPECTIVE_ABOVE

 

 

PERSPECTIVE_ABOVE_LEFT_FACING

 

 

PERSPECTIVE_ABOVE_RIGHT_FACING

 

 

PERSPECTIVE_BELOW

 

 

PERSPECTIVE_CONTRASTING_LEFT_FACING

 

 

PERSPECTIVE_CONTRASTING_RIGHT_FACING

 

 

PERSPECTIVE_FRONT

 

 

PERSPECTIVE_HEROIC_EXTREME_LEFT_FACING

 

 

PERSPECTIVE_HEROIC_EXTREME_RIGHT_FACING

 

 

PERSPECTIVE_HEROIC_LEFT_FACING

 

 

PERSPECTIVE_HEROIC_RIGHT_FACING

 

 

PERSPECTIVE_LEFT

 

 

PERSPECTIVE_RELAXED

 

 

PERSPECTIVE_RELAXED_MODERATELY

 

 

PERSPECTIVE_RIGHT

 

 

constant

PresetColorMatricsValue  number

Utility class containing constants. Used to set Shape theme style's color property

Properties

Name Type Optional Description

COLOR_1

 

 

Color1.

COLOR_2

 

 

Color2.

COLOR_3

 

 

Color3.

COLOR_4

 

 

Color4.

COLOR_5

 

 

Color5.

COLOR_6

 

 

Color6.

COLOR_7

 

 

Color7.

constant

PresetQuickStyleValue  number

Utility class containing constants. Specifies the theme quick style value

Properties

Name Type Optional Description

VARIANT_STYLE_1

 

 

VariantStyle1.

VARIANT_STYLE_2

 

 

VariantStyle2.

VARIANT_STYLE_3

 

 

VariantStyle3.

VARIANT_STYLE_4

 

 

VariantStyle4.

constant

PresetShadowType  number

Utility class containing constants. Represents preset shadow type.

Properties

Name Type Optional Description

NO_SHADOW

 

 

No shadow.

CUSTOM

 

 

Custom shadow.

OFFSET_DIAGONAL_BOTTOM_RIGHT

 

 

Outer shadow offset diagonal bottom right.

OFFSET_BOTTOM

 

 

Outer shadow offset bottom.

OFFSET_DIAGONAL_BOTTOM_LEFT

 

 

Outer shadow offset diagonal bottom left.

OFFSET_RIGHT

 

 

Outer shadow offset right.

OFFSET_CENTER

 

 

Outer shadow offset center.

OFFSET_LEFT

 

 

Outer shadow offset left.

OFFSET_DIAGONAL_TOP_RIGHT

 

 

Outer shadow offset diagonal top right.

OFFSET_TOP

 

 

Outer shadow offset top.

OFFSET_DIAGONAL_TOP_LEFT

 

 

Outer shadow offset diagonal top left.

INSIDE_DIAGONAL_TOP_LEFT

 

 

Inner shadow inside diagonal top Left.

INSIDE_TOP

 

 

Inner shadow inside top.

INSIDE_DIAGONAL_TOP_RIGHT

 

 

Inner shadow inside diagonal top right.

INSIDE_LEFT

 

 

Inner shadow inside left.

INSIDE_CENTER

 

 

Inner shadow inside center.

INSIDE_RIGHT

 

 

Inner shadow inside right.

INSIDE_DIAGONAL_BOTTOM_LEFT

 

 

Inner shadow inside diagonal bottom left.

INSIDE_BOTTOM

 

 

Inner shadow inside bottom.

INSIDE_DIAGONAL_BOTTOM_RIGHT

 

 

Inner shadow inside diagonal bottom right.

PERSPECTIVE_DIAGONAL_UPPER_LEFT

 

 

Outer shadow perspective diagonal upper left.

PERSPECTIVE_DIAGONAL_UPPER_RIGHT

 

 

Outer shadow perspective diagonal upper right.

BELOW

 

 

Outer shadow below.

PERSPECTIVE_DIAGONAL_LOWER_LEFT

 

 

Outer shadow perspective diagonal lower left.

PERSPECTIVE_DIAGONAL_LOWER_RIGHT

 

 

Outer shadow perspective diagonal lower right.

constant

PresetStyleMatricsValue  number

Utility class containing constants. Used to set Shape theme style property

Properties

Name Type Optional Description

STYLE_1

 

 

Style1

STYLE_2

 

 

Style2

STYLE_3

 

 

Style3

STYLE_4

 

 

Style4

STYLE_5

 

 

Style5

STYLE_6

 

 

Style6

constant

PresetThemeValue  number

Utility class containing constants. Specifies the theme value

Properties

Name Type Optional Description

NO_THEME

 

 

NoTheme

OFFICE

 

 

Office

LINEAR

 

 

Linear

ZEPHYR

 

 

Zephyr

INTEGRAL

 

 

Integral

SIMPLE

 

 

Simple

WHISP

 

 

Whisp

DAYBREAK

 

 

Daybreak

PARALLEL

 

 

Parallel

SEQUENCE

 

 

Sequence

SLICE

 

 

Slice

ION

 

 

Ion

RETROSPECT

 

 

Retrospect

ORGANIC

 

 

Organic

BUBBLE

 

 

Bubble

CLOUDS

 

 

Clouds

GEMSTONE

 

 

Gemstone

LINES

 

 

Lines

FACET

 

 

Facet

PROMINENCE

 

 

Prominence

SMOKE

 

 

Smoke

RADIANCE

 

 

Radiance

SHADE

 

 

Shade

PENCIL

 

 

Pencil

PEN

 

 

Pen

MARKER

 

 

Marker

WHITE_BOARD

 

 

WhiteBoard

constant

PresetThemeVariantValue  number

Utility class containing constants. Specifies the theme Variant value

Properties

Name Type Optional Description

VARIANT_1

 

 

Variant1.

VARIANT_2

 

 

Variant2.

VARIANT_3

 

 

Variant3.

VARIANT_4

 

 

Variant4.

constant

PreviewScopeValue  number

Utility class containing constants. Specifies whether the document includes a preview, and, if so, whether the preview shows only the first page or all the pages in the document.

Properties

Name Type Optional Description

FIRST_PAGE

 

 

First page.

NO_PREVIEW

 

 

No preview.

ALL_PAGES

 

 

All pages.

UNDEFINED

 

 

Undefined.

constant

PrintPageOrientationValue  number

Utility class containing constants. Determines whether the page is printed in portrait or landscape orientation.

Properties

Name Type Optional Description

SAME_AS_PRINTER

 

 

Same as printer.

PORTRAIT

 

 

Portrait.

LANDSCAPE

 

 

Landscape.

UNDEFINED

 

 

Undefined.

constant

PropType  number

Utility class containing constants. Type of Property.

Properties

Name Type Optional Description

STRING

 

 

String.

BOOL

 

 

Boolean.

DATE

 

 

Date.

NUMBER

 

 

Number.

constant

RectangleAlignmentType  number

Utility class containing constants. Represents how to position two rectangles relative to each other.

Properties

Name Type Optional Description

BOTTOM

 

 

Bottom

BOTTOM_LEFT

 

 

BottomLeft

BOTTOM_RIGHT

 

 

BottomRight

CENTER

 

 

Center

LEFT

 

 

Left

RIGHT

 

 

Right

TOP

 

 

Top

TOP_LEFT

 

 

TopLeft

TOP_RIGHT

 

 

TopRight

constant

ReflectionEffectType  number

Utility class containing constants.

Properties

Name Type Optional Description

NONE

 

 

No reflection effect.

CUSTOM

 

 

Custom reflection effect.

TIGHT_REFLECTION_TOUCHING

 

 

Tight reflection, touching.

HALF_REFLECTION_TOUCHING

 

 

Half reflection, touching.

FULL_REFLECTION_TOUCHING

 

 

Full reflection, touching.

TIGHT_REFLECTION_4_PT_OFFSET

 

 

Tight reflection, 4 pt offset.

HALF_REFLECTION_4_PT_OFFSET

 

 

Half reflection, 4 pt offset.

FULL_REFLECTION_4_PT_OFFSET

 

 

Full reflection, 4 pt offset.

TIGHT_REFLECTION_8_PT_OFFSET

 

 

Tight reflection, 8 pt offset.

HALF_REFLECTION_8_PT_OFFSET

 

 

Half reflection, 8 pt offset.

FULL_REFLECTION_8_PT_OFFSET

 

 

Full reflection, 8 pt offset.

constant

RelationFlag  number

Utility class containing constants. Stores the relationships between shapes.

Properties

Name Type Optional Description

MEMBERS_OF_CONTAINER_SHAPES

 

 

Shapes that are members of this container.

MEMBERS_OF_LIST_SHAPES

 

 

Shapes that are members of this list.

ASSOCIATED_WITH_CALLOUTS

 

 

Callouts that are associated with this shape.

MEMBER_OF_CONTAINERS

 

 

Containers that this shape is a member of.

MEMBER_OF_LIST

 

 

List that this list item is a member of

SHAPE_ASSOCIATED_WITH_CALLOUT

 

 

Shape associated with this callout

LEFT_BOUNDARY_EDGE

 

 

Container on the left boundary edge of which this shape sits

RIGHT_BOUNDARY_EDGE

 

 

Container on the right boundary edge of which this shape sits

TOP_BOUNDARY_EDGE

 

 

Container on the top boundary edge of which this shape sits

BOTTOM_BOUNDARY_EDGE

 

 

Container on the bottom boundary edge of which this shape sits

LIST_OVERLAPS

 

 

List that this list overlaps

UNDEFINED

 

 

Undefined.

constant

RemoveHiddenInfoItem  number

Utility class containing constants. Specifies the remove hidden info for the diagram.

Properties

Name Type Optional Description

PERSONAL_INFO

 

 

PersonalInfo.

SHAPES

 

 

Shapes.

MASTERS

 

 

Masters.

STYLES

 

 

Styles.

DATA_RECORD_SETS

 

 

DataRecordSets.

UNDEFINED

 

 

Undefined.

constant

ResizeModeValue  number

Utility class containing constants. Specifies the current resize behavior setting for the shape when contained in a group.

Properties

Name Type Optional Description

USE_GROUP_SETTING

 

 

Use group's setting

REPOSITION_ONLY

 

 

Reposition only.

SCALE_WITH_GROUP

 

 

Scale with group.

UNDEFINED

 

 

Undefined.

constant

RotationTypeValue  number

Utility class containing constants. Specifies the type of projection of the effect properties of a shape

Properties

Name Type Optional Description

NONE

 

 

Specifies no 3D effects rotation.

PARALLEL

 

 

Specifies that a parallel projection is applied to the 3D effect properties.

PERSPECTIVE

 

 

Specifies that the shape rotates in perspective projection.

OBLIQUE_FROM_TOP_LEFT

 

 

Specifies that the shape rotates in oblique projection from the top left corner of the bounding box of the shape.

OBLIQUE_FROM_TOP_RIGHT

 

 

Specifies that the shape rotates oblique projection from the top right corner of the bounding box of the shape.

OBLIQUE_FROM_BOTTOM_LEFT

 

 

Specifies that the shape rotates oblique projection from the bottom left corner of the bounding box of the shape.

OBLIQUE_FROM_BOTTOM_RIGHT

 

 

Specifies that the shape rotates oblique projection from the bottom right corner of the bounding box of the shape.

UNDEFINED

 

 

No light rig.

constant

RouteStyleValue  number

Utility class containing constants. Specifies the routing style and direction for all dynamic connectors on the drawing page that don't have a local routing style.

Properties

Name Type Optional Description

DEFAULT_RIGHT_ANGLE

 

 

Default. Right angle.

RIGHT_ANGLE

 

 

Right angle.

STRAIGHT

 

 

Straight.

ORGANIZATION_CHART_TOP_TO_BOTTOM

 

 

Organization chart top to bottom.

ORGANIZATION_CHART_LEFT_TO_RIGHT

 

 

Organization chart left to right.

FLOWCHART_TOP_TO_BOTTOM

 

 

Flow chart top to bottom.

FLOWCHART_LEFT_TO_RIGHT

 

 

Flow chart left to right.

TREE_TOP_TO_BOTTOM

 

 

Tree top to bottom.

TREE_LEFT_TO_RIGHT

 

 

Tree left to right.

NETWORK

 

 

Network.

ORGANIZATION_CHART_BOTTOM_TO_TOP

 

 

Organization chart bottom to top.

ORGANIZATION_CHART_RIGHT_TO_LEFT

 

 

Organization chart right to left.

FLOWCHART_BOTTOM_TO_TOP

 

 

Flowchart bottom to top.

FLOWCHART_RIGHT_TO_LEFT

 

 

Flowchart right to left.

TREE_BOTTOM_TO_TOP

 

 

Tree bottom to top.

TREE_RIGHT_TO_LEFT

 

 

Tree right to left.

CENTER_TO_CENTER

 

 

Center to center.

SIMPLE_TOP_TO_BOTTOM

 

 

Simple top to bottom.

SIMPLE_LEFT_TO_RIGHT

 

 

Simple left to right.

SIMPLE_BOTTOM_TO_TOP

 

 

Simple bottom to top.

SIMPLE_RIGHT_TO_LEFT

 

 

Simple right to left.

SIMPLE_HORIZONTAL_VERTICAL

 

 

Simple horizontal vertical.

SIMPLE_VERTICAL_HORIZONTAL

 

 

Simple vertical horizontal.

UNDEFINED

 

 

Undefined.

constant

RulerDensityValue  number

Utility class containing constants. Specifies the horizontal subdivisions on the ruler for the page.

Properties

Name Type Optional Description

COARSE

 

 

Coarse.

NORMAL

 

 

Normal.

FINE

 

 

Fine.

UNDEFINED

 

 

Undefined.

constant

SaveFileFormat  number

Utility class containing constants. Enumeration for saving diagram format selection.

Properties

Name Type Optional Description

VDX

 

 

MS Visio Vdx xml format.

VSX

 

 

MS Visio Vsx xml stencil format.

VTX

 

 

MS Visio Vst xml template format.

TIFF

 

 

Tiff image format.

PNG

 

 

Png image format.

BMP

 

 

Bmp image format.

EMF

 

 

EMF image format.

JPEG

 

 

Jpeg image format.

PDF

 

 

Pdf format.

XPS

 

 

Xps format.

GIF

 

 

Gif format.

HTML

 

 

Html format.

SVG

 

 

Svg format.

XAML

 

 

Xaml format.

VSDX

 

 

MS Visio 2013 Vsdx file format.

VSTX

 

 

MS Visio 2013 Vstx file format,Template file.

VSSX

 

 

MS Visio 2013 Vssx file format

VSDM

 

 

MS Visio Vsdm file format which enable macros.

VSSM

 

 

MS Visio Vssm file format which enable macros.

VSTM

 

 

MS Visio Vstm file format which enable macros.

CSV

 

 

Comma-Separated Values(CSV) text file.

VSD

 

 

MS Visio Vsd binary format.

constant

SelectModeValue  number

Utility class containing constants. Specifies how the user selects a group shape and its members.

Properties

Name Type Optional Description

GROUP_SHAPE_ONLY

 

 

Select the group shape only.

GROUP_SHAPE_FIRST

 

 

Select the group shape first.

MEMBERS_GROUP_FIRST

 

 

Select the members of the group first.

UNDEFINED

 

 

Undefined.

constant

ShapeFixedCodeValue  number

Utility class containing constants. Specifies placement behavior for a placeable shape.

Properties

Name Type Optional Description

NO_MOVE_USING_LAY_OUT_SHAPES

 

 

Don't move this shape when using the Lay Out Shapes command in Microsoft Visio.

NO_MOVE_AND_NO_ALLOW_SHAPES_PLACED

 

 

Don't move this shape and do not allow other placeable shapes to be placed on it.

NO_MOVE_ALLOW_SHAPES_PLACED

 

 

Don't move this shape but do allow other placeable shapes to be placed on it.

IGNORE_CONNECTION_POINT

 

 

Ignore connection point locations when being routed to.

ALLOW_ROUTING_TO_SIDES_WITH_CONNECTION_POINTS

 

 

Only allow routing to sides with connection points.

NO_GLUE_TO_PERIMETER

 

 

Don't glue to the perimeter of this shape. Glue to the shape's alignment box instead.

UNDEFINED

 

 

Undefined.

constant

ShapePlaceFlipValue  number

Utility class containing constants. Specifies how a placeable shape flips and/or rotates on the page when a user selects Lay Out Shapes (Shapes menu).

Properties

Name Type Optional Description

USE_PAGE_DEFAULT

 

 

Use page default.

FLIP_HORIZONTAL

 

 

Flip horizontal.

FLIP_VERTICAL

 

 

Flip vertical.

FLIP_90_DEGREE_INCREMENT_BETWEEN_0_AND_270

 

 

Flip in 90 degree increments between 0 and 270.

NO_FLIP

 

 

No flip.

UNDEFINED

 

 

Undefined

constant

ShapePlaceStyleValue  number

Utility class containing constants. Determines the placement style for children.

Properties

Name Type Optional Description

PLACE_DEFAULT

 

 

Place default.

PLACE_TOP_TO_BOTTOM

 

 

Place top to bottom.

PLACE_TO_RIGHT

 

 

Place to right.

PLACE_RADIAL

 

 

Place radial.

PLACE_BOTTOM_TO_TOP

 

 

Place bottom to top.

PLACE_RIGHT_TO_LEFT

 

 

Place right to left.

PLACE_CIRCULAR

 

 

Place circular.

PLACE_COMPACT_DOWN_RIGHT

 

 

Place compact down right.

PLACE_COMPACT_RIGHT_DOWN

 

 

Place compact right down.

PLACE_COMPACT_RIGHT_UP

 

 

Place compact right up.

PLACE_COMPACT_UP_RIGHT

 

 

Place compact up right.

PLACE_COMPACT_UP_LEFT

 

 

Place compact up left.

PLACE_COMPACT_LEFT_UP

 

 

Place compact left up.

PLACE_COMPACT_LEFT_DOWN

 

 

Place compact left down.

PLACE_COMPACT_DOWN_LEFT

 

 

Place compact down left.

PLACE_PARENT_DEFAULT

 

 

Place parent default.

PLACE_HIERARCHY_TOP_TO_BOTTOM_LEFT

 

 

Place hierarchy top to bottom left.

PLACE_HIERARCHY_TOP_TO_BOTTOM_CENTER

 

 

Place hierarchy top to bottom center.

PLACE_HIERARCHY_TOP_TO_BOTTOM_RIGHT

 

 

Place hierarchy top to bottom right.

PLACE_HIERARCHY_BOTTOM_TO_LEFT

 

 

Place hierarchy bottom to left.

PLACE_HIERARCHY_BOTTOM_TO_CENTER

 

 

Place hierarchy bottom to center.

PLACE_HIERARCHY_BOTTOM_TO_RIGHT

 

 

Place hierarchy bottom to right.

PLACE_HIERARCHY_LEFT_TO_RIGHT_TOP

 

 

Place hierarchy left to right top.

PLACE_HIERARCHY_LEFT_TO_RIGHT_MIDDLE

 

 

Place hierarchy left to right middle.

PLACE_HIERARCHY_LEFT_TO_RIGHT_BOTTOM

 

 

place hierarchy left to right bottom.

PLACE_HIERARCHY_RIGHT_TO_LEFT_TOP

 

 

Place hierarchy right to left top.

PLACE_HIERARCHY_RIGHT_TO_LEFT_MIDDLE

 

 

Place hierarchy right to left top.

PLACE_HIERARCHY_RIGHT_TO_LEFT_BOTTOM

 

 

Place hierarchy right to left bottom.

UNDEFINED

 

 

Undefined.

constant

ShapePlowCodeValue  number

Utility class containing constants. Specifies whether a placeable shape moves away when you drag another placeable shape near the shape on the drawing page.

Properties

Name Type Optional Description

USE_PAGE_DEFAULT

 

 

Use page default.

NOMOVE_SHAPE

 

 

Do not move shape.

MOVE_SHAPE

 

 

Move shape.

UNDEFINED

 

 

Undefined.

constant

ShapeRouteStyleValue  number

Utility class containing constants. Specifies the routing style and direction for a connector on the drawing page.

Properties

Name Type Optional Description

PAGE_DEFAULT

 

 

Page default.

RIGHT_ANGLE

 

 

Right angle.

STRAIGHT

 

 

Straight.

ORGANIZATION_CHART_TOP_TO_BOTTOM

 

 

Organization chart. Direction Top to bottom.

ORGANIZATION_CHART_LEFT_TO_RIGHT

 

 

Organization chart. Left to right.

FLOWCHART_TOP_TO_BOTTOM

 

 

Flowchart. Top to bottom.

FLOWCHART_LEFT_TO_RIGHT

 

 

Flowchart. Left to right.

TREE_TOP_TO_BOTTOM

 

 

Tree. Top to bottom.

TREE_LEFT_TO_RIGHT

 

 

Tree. Left to right

NETWORK

 

 

Network

ORGANIZATION_CHART_BOTTOM_TO_TOP

 

 

Organization chart. Bottom to top.

ORGANIZATION_CHART_RIGHT_TO_LEFT

 

 

Organization chart. Right to left.

FLOWCHART_BOTTOM_TO_TOP

 

 

Flowchart. Bottom to top.

FLOWCHART_RIGHT_TO_LEFT

 

 

Flowchart. Right to left.

TREE_BOTTOM_TO_TOP

 

 

Tree. Bottom to top.

TREE_RIGHT_TO_LEFT

 

 

Tree. Right to left.

CENTER_TO_CENTER

 

 

Center to center.

SIMPLE_TOP_TO_BOTTOM

 

 

Simple. Top to bottom.

SIMPLE_LEFT_TO_RIGHT

 

 

Simple. Left to right.

SIMPLE_BOTTOM_TO_TOP

 

 

Simple. Bottom to top.

SIMPLE_RIGHT_TO_LEFT

 

 

Simple. Right to left.

SIMPLE_HORIZONTAL_VERTICAL

 

 

Simple horizontal-vertical.

SIMPLE_VERTICAL_HORIZONTAL

 

 

Simple vertical-horizontal.

UNDEFINED

 

 

Undefined.

constant

ShapeShdwShowValue  number

Utility class containing constants. Specifies the type of shadow for a shape.

Properties

Name Type Optional Description

HAS_GEOM_SHOW

 

 

Specifies that the shadow effect set is displayed only if the shape has a Geometry Section_Type.

TOP_LEVEL_SHOW

 

 

Specifies that the shadow effect set is displayed only if the shape has a Geometry Section_Type and the shape is a top-level shape.

ALWAYS_SHOW

 

 

Specifies that the shadow effect set is always displayed.

UNDEFINED

 

 

Undefined.

constant

ShapeShdwTypeValue  number

Utility class containing constants. Specifies the type of shadow for a shape.

Properties

Name Type Optional Description

USE_PAGE

 

 

Use page default (the default).

SIMPLE

 

 

Simple.

OBLIQUE

 

 

Oblique.

INNER

 

 

Inner

UNDEFINED

 

 

Undefined.

constant

ShdwTypeValue  number

Utility class containing constants. Indicates the default shadow type for a page.

Properties

Name Type Optional Description

SIMPLE

 

 

Simple.

OBLIQUE

 

 

Oblique.

UNDEFINED

 

 

Undefined.

constant

ShowDropButtonType  number

Utility class containing constants. Specifies when to show the drop button

Properties

Name Type Optional Description

NEVER

 

 

Never show the drop button.

FOCUS

 

 

Show the drop button when the control has the focus.

ALWAYS

 

 

Always show the drop button.

constant

SmoothingMode  number

Utility class containing constants. Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.

Properties

Name Type Optional Description

INVALID

 

 

Specifies an invalid mode.

DEFAULT

 

 

Specifies no antialiasing.

HIGH_SPEED

 

 

Specifies no antialiasing.

HIGH_QUALITY

 

 

Specifies antialiased rendering.

NONE

 

 

Specifies no antialiasing.

ANTI_ALIAS

 

 

Specifies antialiased rendering.

constant

SnapExtensions  number

Utility class containing constants. Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value can be a sum of the values.

Properties

Name Type Optional Description

NONE

 

 

Snap to nothing.

ALIGNMENT_BOX_EXTENSION

 

 

Snap to alignment box extension.

CENTER_AXES

 

 

Snap to center axis extension.

CURVE_TANGENT

 

 

Snap to curve tangent extension.

ENDPOINT

 

 

Snap to end point extension.

MIDPOINT

 

 

Snap to mid point extension.

LINEAR_EXTENSION

 

 

Snap to linear extension.

CURVE_EXTENSION

 

 

Snap to curve extension.

ENDPOINT_PERPENDICULAR

 

 

Snap to end point perpendicular extension.

MIDPOINT_PERPENDICULAR

 

 

Snap to mid point perpendicular extension.

ENDPOINT_HORIZONTAL

 

 

Snap to end point horizontal extension.

ENDPOINT_VERTICAL

 

 

Snap to end point vertical extension.

ELLIPSE_CENTER

 

 

Snap to ellipse center extension.

ISOMETRIC_ANGLES

 

 

Snap to isometric angles extension.

UNDEFINED

 

 

Undefined.

constant

SnapExtensionsValue  number

Utility class containing constants. Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value can be a sum of the values in the following table.

Properties

Name Type Optional Description

SNAP_TO_NOTHING

 

 

Snap to nothing.

SNAP_TO_ALIGNMENT_BOX_EXTENSION

 

 

Snap to alignment box extension.

SNAP_TO_CENTER_AXIS_EXTENSION

 

 

Snap to center axis extension.

SNAP_TO_CURVE_TANGENT_EXTENSION

 

 

Snap to curve tangent extension.

SNAP_TO_END_POINT_EXTENSION

 

 

Snap to end point extension.

SNAP_TO_MID_POINT_EXTENSION

 

 

Snap to mid point extension.

SNAP_TO_LINEAR_EXTENSION

 

 

Snap to linear extension.

SNAP_TO_CURVE_EXTENSION

 

 

Snap to curve extension.

SNAP_TO_END_POINT_PERPENDICULAR_EXTENSION

 

 

Snap to end point perpendicular extension.

SNAP_TO_MID_POINT_PERPENDICULAR_EXTENSION

 

 

Snap to mid point perpendicular extension.

SNAP_TO_END_POINT_HORIZONTAL_EXTENSION

 

 

Snap to end point horizontal extension.

SNAP_TO_END_POINT_VERTICAL_EXTENSION

 

 

Snap to end point vertical extension.

SNAP_TO_ELLIPSE_CENTER_EXTENSION

 

 

Snap to ellipse center extension.

SNAP_TO_ISOMETRIC_ANGLES_EXTENSION

 

 

Snap to isometric angles extension.

UNDEFINED

 

 

Undefined.

constant

SnapSettings  number

Utility class containing constants. Specifies the objects that shapes snap to when snap is active in the window. The value may be a sum of the values.

Properties

Name Type Optional Description

NONE

 

 

Snap to nothing.

RULER_SUBDIVISIONS

 

 

Snap to ruler subdivisions.

GRID

 

 

Snap to grid.

GUIDES

 

 

Snap to guides.

HANDLES

 

 

Snap to selection handles.

VERTICES

 

 

Snap to vertices.

CONNECTION_POINTS

 

 

Snap to connection points.

GEOMETRY

 

 

Snap to the visible edges of shapes.

ALIGNMENT_BOX

 

 

Snap to alignment box.

EXTENSIONS

 

 

Snap to shape extensions options.

DISABLED

 

 

Snap disabled.

INTERSECTIONS

 

 

Snap to intersections.

UNDEFINED

 

 

Undefined.

constant

SnapSettingsValue  number

Utility class containing constants. Specifies the objects that shapes snap to when snap is active in the window

Properties

Name Type Optional Description

SNAP_TO_NOTHING

 

 

Snap to nothing.

SNAP_TO_RULER_SUBDIVISIONS

 

 

Snap to ruler subdivisions.

SNAP_TO_GRID

 

 

Snap to grid.

SNAP_TO_GUIDES

 

 

Snap to guides.

SNAP_TO_SELECTION_HANDLES

 

 

Snap to selection handles.

SNAP_TO_VERTICES

 

 

Snap to vertices.

SNAP_TO_CONNECTION_POINTS

 

 

Snap to connection points.

SNAP_TO_THE_VISIBLE_EDGES_OF_SHAPES

 

 

Snap to the visible edges of shapes.

SNAP_TO_ALIGNMENT_BOX

 

 

Snap to alignment box.

SNAP_TO_SHAPE_EXTENSIONS_OPTIONS

 

 

Snap to shape extensions options.

SNAP_DISABLED

 

 

Snap disabled.

SNAP_TO_INTERSECTIONS

 

 

Snap to intersections.

UNDEFINED

 

 

Undefined.

constant

StyleValue  number

Utility class containing constants. Specifies the character formatting applied to a range of text in the shape's text block.

Properties

Name Type Optional Description

BOLD

 

 

Bold.

ITALIC

 

 

Italic.

UNDERLINE

 

 

Underline.

SMALL_CAPS

 

 

Small caps.

UNDEFINED

 

 

Undefined.

constant

TextDirectionValue  number

Utility class containing constants. Specifies the direction of the characters in a text block.

Properties

Name Type Optional Description

HORIZONTAL

 

 

Horizontal.

VERTICAL

 

 

Vertical.

UNDEFINED

 

 

Undefined.

constant

TiffCompression  number

Utility class containing constants. Specifies what type of compression to apply when saving pages to the TIFF format.

Properties

Name Type Optional Description

NONE

 

 

Specifies no compression.

RLE

 

 

Specifies the RLE compression scheme.

LZW

 

 

Specifies the LZW compression scheme.

CCITT_3

 

 

Specifies the CCITT3 compression scheme.

CCITT_4

 

 

Specifies the CCITT4 compression scheme.

constant

ToPartValue  number

Utility class containing constants. The part of a shape to which a connection is made.

Properties

Name Type Optional Description

NONE

 

 

None.

GUIDE_X

 

 

GuideX.

GUIDE_Y

 

 

GuideY.

WHOLE_SHAPE

 

 

Whole shape.

GUIDE_INTERSECTION

 

 

Guide intersection.

TO_ANGLE

 

 

To angle.

CONNECTION_POINT

 

 

Connection point.

UNDEFINED

 

 

Undefined.

constant

TypeConnectionValue  number

Utility class containing constants. Specifies various types, based on the element in which it is contained.

Properties

Name Type Optional Description

INWARD

 

 

Inward.

OUTWARD

 

 

Outward.

INWARD_OUTWARD

 

 

Inward and outward.

UNDEFINED

 

 

Undefined.

constant

TypeFieldValue  number

Utility class containing constants. Type specifies a data type for the text field value.

Properties

Name Type Optional Description

STRING

 

 

String.

NUMBER

 

 

Number. Includes date, time, duration, and currency values as well as scalars, dimensions, and angles.

DATE_TIME

 

 

Date or time value. Displays days, months, and years, or seconds, minutes, and hours, or a combined date and time value.

DURATION

 

 

Duration value. Displays elapsed time.

CURRENCY

 

 

Currency value. Uses the system's current regional settings.

UNDEFINED

 

 

Undefined.

constant

TypePropValue  number

Utility class containing constants. Type specifies a data type for the custom property value.

Properties

Name Type Optional Description

STRING

 

 

String. This is the default.

FIXED_LIST

 

 

Fixed list. Displays the list items in a drop-down combo box in the Custom Properties dialog box.

NUMBER

 

 

Number. Includes date, time, duration, and currency values as well as scalars, dimensions, and angles.

BOOLEAN

 

 

Boolean. Displays FALSE and TRUE as items users can select from a drop-down list box in the Custom Properties dialog box in the Visio application.

VARIABLE_LIST

 

 

Variable list. Displays the list items in a drop-down combo box in the Custom Properties dialog box in Visio. Users can select a list item or enter a new item that is added to the current list in the Format element.

DATE_TIME

 

 

Date or time value. Displays days, months, and years, or seconds, minutes, and hours, or a combined date and time value.

DURATION

 

 

Duration value. Displays elapsed time.

CURRENCY

 

 

Currency value. Uses the system's current Regional Settings.

UNDEFINED

 

 

Undefined.

constant

TypeValue  number

Utility class containing constants. Optional enumeration. The type of a shape.

Properties

Name Type Optional Description

GROUP

 

 

Group.

SHAPE

 

 

Shape.

GUIDE

 

 

Guide.

FOREIGN

 

 

Foreign.

UNDEFINED

 

 

Undefined.

constant

UIVisibilityValue  number

Utility class containing constants. Specifies the tab alignment.

Properties

Name Type Optional Description

VISIBLE

 

 

Visible .

HIDDEN

 

 

Hidden.

UNDEFINED

 

 

Undefined.

constant

VbaModuleType  number

Utility class containing constants. Represents the type of VBA module.

Properties

Name Type Optional Description

PROCEDURAL

 

 

Represents a procedural module.

DOCUMENT

 

 

Represents a document module.

CLASS

 

 

Represents a class module.

DESIGNER

 

 

Represents a designer module.

constant

VbaProjectReferenceType  number

Utility class containing constants. Represents the type of VBA project reference.

Properties

Name Type Optional Description

REGISTERED

 

 

Specifies a reference to an Automation type library.

CONTROL

 

 

Specifies a reference to a twiddled type library and its extended type library.

PROJECT

 

 

Specifies a reference to an external VBA project.

constant

VerticalAlignValue  number

Utility class containing constants. Specifies the vertical alignment of text within the text block.

Properties

Name Type Optional Description

TOP

 

 

Top.

MIDDLE

 

 

Middle.

BOTTOM

 

 

Bottom.

UNDEFINED

 

 

Undefined.

constant

VisRuleTargetsValue  number

Utility class containing constants. Specifies contents that define the target of the validation rule; passed to and returned by the ValidationRule.TargetType property.

Properties

Name Type Optional Description

VIS_RULE_TARGET_SHAPE

 

 

The rule applies to the document itself.

VIS_RULE_TARGET_PAGE

 

 

The rule applies to pages in the document.

VIS_RULE_TARGET_DOCUMENT

 

 

The rule applies to shapes in the document.

UNDEFINED

 

 

Undefined.

constant

WalkPreferenceValue  number

Utility class containing constants. Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued to, using dynamic glue, when the shape is moved to an ambiguous position.

Properties

Name Type Optional Description

SIDE_TO_SIDE_CONNECTIONS

 

 

The default. Both endpoints of the 1-D shape move to horizontal connection points (side-to-side connections).

TOP_TO_SIDE_OR_BOTTOM_TO_SIDE_CONNECTIONS

 

 

The begin point of the 1-D shape moves to a vertical connection point, and the end point moves to a horizontal connection point (top-to-side or bottom-to-side connections).

SIDE_TO_TOP_OR_SIDE_TO_BOTTOM_CONNECTIONS

 

 

The begin point of the 1-D shape moves to a horizontal connection point, and the end point moves to a vertical connection point (side-to-top or side-to-bottom connections).

TOP_TO_BOTTOM_CONNECTIONS

 

 

Both endpoints of the 1-D shape move to vertical connection points (top-to-bottom connections).

UNDEFINED

 

 

Undefined.

constant

WarningType  number

Utility class containing constants. WarningType

Property

Name Type Optional Description

FONT_SUBSTITUTION

 

 

Font substitution warning type when a font has not been found, this warning type can be get.

constant

WindowStateValue  number

Utility class containing constants. An integer specifying bit flags. This attribute can be a sum of the following values.

Properties

Name Type Optional Description

RESTORED

 

 

Restored.

MAXIMIZED

 

 

Maximized.

MINIMIZED

 

 

Minimized.

DOCKED_LEFT

 

 

Docked left.

DOCKED_TOP

 

 

Docked top.

DOCKED_RIGHT

 

 

Docked right.

DOCKED_BOTTOM

 

 

Docked bottom.

DOUBLEING

 

 

Doubleing.

ANCHOR_LEFT

 

 

Anchor left.

ANCHOR_TOP

 

 

Anchor top.

ANCHOR_RIGHT

 

 

Anchor right.

ANCHOR_BOTTOM

 

 

Anchor bottom.

ANCHOR_MERGED

 

 

Anchor merged.

ACTIVE

 

 

Active.

UNDEFINED

 

 

Undefined.

constant

WindowTypeValue  number

Utility class containing constants. An enumerated value that may be one of the following: Drawing, Sheet, Stencil, or Icon. A Window element of WindowType='Stencil' must appear after its parent drawing window (WindowType='Drawing') and before any other drawing window elements.

Properties

Name Type Optional Description

DRAWING

 

 

Drawing

STENCIL

 

 

Stencil.

SHEET

 

 

Sheet

ICON

 

 

Icon.

UNDEFINED

 

 

Undefined.

constant

XJustifyValue  number

Utility class containing constants. The x-offset of the smart tag button relative to the point defined by the X and Y elements.

Properties

Name Type Optional Description

LEFT_JUSTIFIED

 

 

Left justified (the default).

CENTERED

 

 

Centered.

RIGHT_JUSTIFIED

 

 

Right justified.

UNDEFINED

 

 

Undefined.

constant

YJustifyValue  number

Utility class containing constants. Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements.

Properties

Name Type Optional Description

TOP_JUSTIFIED

 

 

Top justified (the default).

CENTERED

 

 

Centered.

BOTTOM_JUSTIFIED

 

 

Bottom justified.

UNDEFINED

 

 

Undefined.