Class Vml
This class contains constants required for vml shapes parsing and serialization.
Inheritance
System.Object
Vml
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
Constructors
Vml()
Declaration
Fields
AlternateTextAttribute
Alternate text for the Shape
Declaration
public const string AlternateTextAttribute = "alt"
Field Value
AnchorTagName
Name of the xml tag that stores anchor settings.
Declaration
public const string AnchorTagName = "Anchor"
Field Value
AngleAttribute
Filled color Shading (Horizontal , vertical...)
Declaration
public const string AngleAttribute = "angle"
Field Value
AspectRatio
Specifies whether the aspect ratio of a shape is locked from being edited.
Declaration
public const string AspectRatio = "aspectratio"
Field Value
AutoFillTag
This element specifies that the object is an AutoFill object. If this
element is specified without a value, it is assumed to be true.
Declaration
public const string AutoFillTag = "AutoFill"
Field Value
AutoLineTag
This element specifies that the object is an AutoLine object. If this
element is specified without a value, it is assumed to be true.
Declaration
public const string AutoLineTag = "AutoLine"
Field Value
AutoPicture
Declaration
public const string AutoPicture = "AutoPict"
Field Value
BitmapPathValue
Default value of the path value for bitmap shape.
Declaration
public const string BitmapPathValue = "m@4@5l@4@11@9@11@9@5xe"
Field Value
CallbackType
This element specifies the list box callback type. The application should
use the callback to determine how to handle user actions on the list box.
The only allowed value is Normal.
Declaration
public const string CallbackType = "LCT"
Field Value
CF
Declaration
public const string CF = "CF"
Field Value
Checkbox
Represents check box shape type.
Declaration
public const string Checkbox = "Checkbox"
Field Value
Checked
Tag that stores checkbox checked state.
Declaration
public const string Checked = "Checked"
Field Value
ClientDataTagName
Name of the xml tag that stores vml shape client data.
Declaration
public const string ClientDataTagName = "ClientData"
Field Value
Color
Declaration
public const string Color = "color"
Field Value
Color2Attribute
Declaration
public const string Color2Attribute = "color2"
Field Value
ColorAttribute
Declaration
public const string ColorAttribute = "color"
Field Value
ColorsAttribute
Colors attributes specifies the combination of colors
applied to the shape. this attribute usde for preset colors
Declaration
public const string ColorsAttribute = "colors"
Field Value
ColumnTagName
Name of the xml tag that stores column index of the note shape.
Declaration
public const string ColumnTagName = "Column"
Field Value
Specifies text alignment.
Declaration
public const string CommentAlignment = "\n <v:textbox style='mso-direction-alt:auto'>\n <div style='text-align:left'></div>\n </v:textbox>\n"
Field Value
Default value of the coord size for comment shape.
Declaration
public const string CommentCoordSize = "21600,21600"
Field Value
Default value of the path value for comment shape.
Declaration
public const string CommentPathValue = "m,l,21600r21600,l21600,xe"
Field Value
ConnectType
Specifies the type of connection points used for attaching shapes to other shapes.
Declaration
public const string ConnectType = "connecttype"
Field Value
ConnectTypeAttribute
Declaration
public const string ConnectTypeAttribute = "connecttype"
Field Value
CoordSizeAttributeName
Name of the xml attribute that stores shape (or shape type) coordinate size.
Declaration
public const string CoordSizeAttributeName = "coordsize"
Field Value
DarkLimit
Declaration
public const double DarkLimit = 0.5
Field Value
DashStyleAttribute
Represent Dash Style (solid, shortDash)
Declaration
public const string DashStyleAttribute = "dashstyle"
Field Value
DegreeDivider
Degree value divided by this
Declaration
public const int DegreeDivider = 255
Field Value
DevAspect
Declaration
public const string DevAspect = "dvAspect"
Field Value
DivTagName
Name of the xml tag that stores div settings.
Declaration
public const string DivTagName = "div"
Field Value
Drop
Represents combo box shape type.
Declaration
public const string Drop = "Drop"
Field Value
DropLines
This element specifies the maximum number of lines in the dropdown before
scrollbars are added.
Declaration
public const string DropLines = "DropLines"
Field Value
DropStyle
This element specifies the style of the dropdown.
Declaration
public const string DropStyle = "DropStyle"
Field Value
EquationTagName
Specifies a single formula, which consists of a named operation followed
by up to three parameters.
Declaration
public const string EquationTagName = "eqn"
Field Value
Ext
Specifies an optional value that indicates how applications that implement
VML should interpret extensions not defined as part of the original
specification of core VML.
Declaration
public const string Ext = "ext"
Field Value
ExtAttribute
Declaration
public const string ExtAttribute = "ext"
Field Value
Extrusionok
Specifies whether an extrusion is allowed to be displayed.
Declaration
public const string Extrusionok = "extrusionok"
Field Value
ExtrusionOkAttribute
Declaration
public const string ExtrusionOkAttribute = "extrusionok"
Field Value
Face
Declaration
public const string Face = "face"
Field Value
FalseExpression
Represents false expression
Declaration
public const string FalseExpression = "f"
Field Value
FillColorAttribute
Name of the xml attribute that stores vml shape fill color value.
Declaration
public const string FillColorAttribute = "fillcolor"
Field Value
FilledAttribute
Specifies whether the closed path will be filled.
Declaration
public const string FilledAttribute = "filled"
Field Value
FillOkAttribute
Declaration
public const string FillOkAttribute = "fillok"
Field Value
FillTag
This element specifies how the shape should be filled
Declaration
public const string FillTag = "fill"
Field Value
FillTypeAttribute
FillType specifies the pattern fill of
Line in VMLtexbox shapes
Declaration
public const string FillTypeAttribute = "filltype"
Field Value
This element specifies whether the object is first button of the Grouped objects,
Declaration
public const string FirstButton = "FirstButton"
Field Value
FocusAttribute
focus attribute specifies to shading variants
Values range from 100% to -100%. Default is 0.
Declaration
public const string FocusAttribute = "focus"
Field Value
FocusPositionAttribute
Specifies the position of the center rectangle of a radial gradient. The vector is a fraction
of the width and height of the shape. The first is a percentage of the fill to the left edge;
the second is a percentage of the fill to the top. Default is 0,0. To position a radial fill at
the center of a shape, use a value of 50%,50%.
Declaration
public const string FocusPositionAttribute = "focusposition"
Field Value
FocusSizeAttribute
Specifies the size of the center rectangle of a radial gradient. The vector is a fraction of
the width and height of the shape. The first is a percentage of the fill to the right edge;
the second is a percentage of the fill to the bottom. Default is 0,0.
Declaration
public const string FocusSizeAttribute = "focussize"
Field Value
FontTag
Specifies font and text inside div element.
Declaration
public const string FontTag = "font"
Field Value
This element specifies the cell the object is linked to, using standard cell reference syntax.
Declaration
public const string FormulaLink = "FmlaLink"
Field Value
Declaration
public const string FormulaMacro = "FmlaMacro"
Field Value
This element defines a set of formulas whose calculated values are referenced by other attributes.
Declaration
public const string FormulasTagName = "formulas"
Field Value
GradientCenterTypeTagValue
Fill type Tag value represents gradient radial (From corner or Center) fill type
Declaration
public const string GradientCenterTypeTagValue = "gradientCenter"
Field Value
GradientDarkFillValue
Declaration
public const string GradientDarkFillValue = "fill darken"
Field Value
GradientLightFillValue
Declaration
public const string GradientLightFillValue = "fill lighten"
Field Value
GradientOneColorAttributeValueStart
lightness or darkness of "one color" option in Gradient
Declaration
public const string GradientOneColorAttributeValueStart = "fill"
Field Value
GradientRadialTypeTagValue
Fill type Tag value represents gradient radial (From corner or Center) fill type
Declaration
public const string GradientRadialTypeTagValue = "gradientRadial"
Field Value
GradientShapeOk
Specifies whether a gradient path will be made up of repeated concentric paths.
Declaration
public const string GradientShapeOk = "gradientshapeok"
Field Value
GradientTypeTagValue
Fill type Tag value represents gradient fill type
Declaration
public const string GradientTypeTagValue = "gradient"
Field Value
Height
Declaration
public const string Height = "height"
Field Value
ImageDataTag
This element is used to draw an image that has been loaded from an external source.
Declaration
public const string ImageDataTag = "imagedata"
Field Value
IndexedColorPrefix
indexed color enclosed with this char
Declaration
public const char IndexedColorPrefix = '['
Field Value
InsetModeAttribute
Name of xml attribute that specifies whether the application calculates the
internal text margin instead of using the inset attribute. Default is custom.
This attribute is only meaningful for text boxes.
Declaration
public const string InsetModeAttribute = "insetmode"
Field Value
JoinStyle
Specifies the join style for line ends.
Declaration
public const string JoinStyle = "joinstyle"
Field Value
LayoutFlow
Determines the flow of the text layout in a textbox.
Declaration
public const string LayoutFlow = "layout-flow"
Field Value
LayoutFlowVertical
CheckStateChanged of layout-flow attribute which indicates that text is displayed vertically.
Declaration
public const string LayoutFlowVertical = "vertical"
Field Value
LegacyDrawing
Name of the xml tag that stores information about vml drawings inside worksheet part.
Declaration
public const string LegacyDrawing = "legacyDrawing"
Field Value
LegacyDrawingHF
Name of the xml tag that stores information about vml header/footer drawings inside
worksheet part.
Declaration
public const string LegacyDrawingHF = "legacyDrawingHF"
Field Value
LineStyleAttribute
Represent line style (ThinThick,..)
Declaration
public const string LineStyleAttribute = "linestyle"
Field Value
LinkAttribute
Declaration
public const string LinkAttribute = "link"
Field Value
LinkAttributeValue
Declaration
public const string LinkAttributeValue = "[{0}]!''''"
Field Value
ListSourceRange
This element specifies the range of source data cells used to populate
the list box, using standard cell reference syntax.
Declaration
public const string ListSourceRange = "FmlaRange"
Field Value
Lock
This element specifies locks against actions that can be effected in the UI
of an authoring application or programmatically through an object model.
Declaration
public const string Lock = "lock"
Field Value
LockText
Declaration
public const string LockText = "LockText"
Field Value
LockTypeAttribute
Declaration
public const string LockTypeAttribute = "lock"
Field Value
MarginLeft
Declaration
public const string MarginLeft = "margin-left"
Field Value
MarginTop
Declaration
public const string MarginTop = "margin-top"
Field Value
MethodAttribute
Declaration
public const string MethodAttribute = "method"
Field Value
MethodNoneValue
Gradient fill method value none.
Declaration
public const string MethodNoneValue = "none"
Field Value
Millimeters
Declaration
public const string Millimeters = "mm"
Field Value
MoveWithCellsTagName
Name of the xml tag that indicates whether shape should be moved with cells or not.
Declaration
public const string MoveWithCellsTagName = "MoveWithCells"
Field Value
MsoFitShapeToText
Specifies whether the shape will stretch to fit the text in the textbox
Declaration
public const string MsoFitShapeToText = "mso-fit-shape-to-text"
Field Value
MsoLayoutFlow
Specifies the alternate layout flow for text in textboxes.
Declaration
public const string MsoLayoutFlow = "mso-layout-flow-alt"
Field Value
MsoLayoutFlowBottomToTop
/// Specifies the bottom to top layout flow for text in textboxes.
Declaration
public const string MsoLayoutFlowBottomToTop = "bottom-to-top"
Field Value
MsoLayoutFlowTopToBottom
Specifies the top to bottom layout flow for text in textboxes.
Declaration
public const string MsoLayoutFlowTopToBottom = "top-to-bottom"
Field Value
NormalLCT
Normal value of the callback type.
Declaration
public const string NormalLCT = "Normal"
Field Value
NoThreeD
This element specifies that 3D effects are disabled. If this element
is specified without a value, it is assumed to be true.
Declaration
public const string NoThreeD = "NoThreeD"
Field Value
NoThreeD2
This element specifies that 3D effects are disabled. If this element
is specified without a value, it is assumed to be true.
Declaration
public const string NoThreeD2 = "NoThreeD2"
Field Value
ObjectTypeAttribute
Name of the xml attribute that stores vml shape type.
Declaration
public const string ObjectTypeAttribute = "ObjectType"
Field Value
OleObject
Declaration
public const string OleObject = "oleObject"
Field Value
OleObjects
Declaration
public const string OleObjects = "oleObjects"
Field Value
OleUpdateAttribute
Declaration
public const string OleUpdateAttribute = "oleUpdate"
Field Value
ONamespace
Name of a namespace used by VML (marked by 'o' in MS Excel 2007 documents).
Declaration
public const string ONamespace = "urn:schemas-microsoft-com:office:office"
Field Value
Opacity2Attribute
"Transparency To" of the filed color
Declaration
public const string Opacity2Attribute = "opacity2"
Field Value
OpacityAttribute
"Transparency From" of the filled color
Declaration
public const string OpacityAttribute = "opacity"
Field Value
OpacityDegree
opacity value divided by this
Declaration
public const int OpacityDegree = 65536
Field Value
OPreffix
Namespace prefix used in vml shapes.
Declaration
public const string OPreffix = "o"
Field Value
Declaration
public const string OptionButton = "Radio"
Field Value
PathAttribute
Declaration
public const string PathAttribute = "path"
Field Value
PathAttributeName
Name of the xml attribute that stores shape path value.
Declaration
public const string PathAttributeName = "path"
Field Value
PatternAttributeValue
Declaration
public const string PatternAttributeValue = "pattern"
Field Value
PictureAttributeValue
Declaration
public const string PictureAttributeValue = "frame"
Field Value
PictureObjectTypeAttributeValue
represents the place holder image
Declaration
public const string PictureObjectTypeAttributeValue = "Pict"
Field Value
PreferRelative
Specifies whether the original size of an object is saved after reformatting.
Declaration
public const string PreferRelative = "preferrelative"
Field Value
ProgramID
Declaration
public const string ProgramID = "progId"
Field Value
ReColorAttribute
Specifies that the fill uses an image
Declaration
public const string ReColorAttribute = "recolor"
Field Value
RelationId
Specifies the relationship ID of the relationship to the image.
Declaration
public const string RelationId = "relid"
Field Value
RelationIDAttribute
Relation id for the resource
Declaration
public const string RelationIDAttribute = "relid"
Field Value
RGBColorPrefixChar
Colors are prefixed with this char
Declaration
public const char RGBColorPrefixChar = '#'
Field Value
RotateAttribute
filled color rotates with the shape
Declaration
public const string RotateAttribute = "rotate"
Field Value
RowTagName
Name of the xml tag that stores row index of the note shape.
Declaration
public const string RowTagName = "Row"
Field Value
This element specifies the width of the scroll bar in screen pixels.
Declaration
public const string ScrollBarWidth = "Dx"
Field Value
This element specifies the number of lines to move the scroll bar on an increment click.
If omitted, the increment is 0.
Declaration
public const string ScrollIncrement = "Inc"
Field Value
Declaration
public const string ScrollMaximum = "Max"
Field Value
This element specifies the minimum scroll bar position as the index of
the list item just above the item at the top of the view when the control
is scrolled all the way up, typically 0. The list indexes are 1-based.
If omitted, the value is assumed to be 0.
Declaration
public const string ScrollMinimum = "Min"
Field Value
ScrollPageIncrement
This element specifies the number of lines to move the scroll bar on a page click.
Declaration
public const string ScrollPageIncrement = "Page"
Field Value
This element specifies the scroll bar position as the index of the list
item just above the item at the top of the view, given the current scroll
position. The list indexes are 1-based.
If omitted, the value is assumed to be 0.
Declaration
public const string ScrollPosition = "Val"
Field Value
SelectedItem
This element specifies that the object represents a password edit field.
If this element is specified without a value, it is assumed to be true.
Declaration
public const string SelectedItem = "Sel"
Field Value
SelectionType
This element specifies the selection type for the list box. If omitted, the control is assumed to be Single.
Declaration
public const string SelectionType = "SelType"
Field Value
ShadowColorAttribute
Name of the xml attribute that specifies the color of the primary shadow.
Default is gray (RGB 128,128,128).
Declaration
public const string ShadowColorAttribute = "color"
Field Value
ShadowObscuredAttribute
Name of the xml attribute that specifies whether a shadow is transparent.
Default is false. If true, the shadow is transparent if there is no fill on the shape.
Declaration
public const string ShadowObscuredAttribute = "obscured"
Field Value
ShadowOkAttribute
Declaration
public const string ShadowOkAttribute = "shadowok"
Field Value
ShadowOnAttribute
Name of the xml attribute that specifies whether to show a shadow.
Declaration
public const string ShadowOnAttribute = "on"
Field Value
ShadowTagName
Name of the xml tag that stores vml shape shadows settings.
Declaration
public const string ShadowTagName = "shadow"
Field Value
ShapeID
Declaration
public const string ShapeID = "shapeId"
Field Value
ShapeIdAttributeName
Name of the xml attribute that stores shape type id.
Declaration
public const string ShapeIdAttributeName = "id"
Field Value
String format used to create shape id. {0} must be replaced with correct shape id number.
Declaration
public const string ShapeIdFormat = "_x0000_s{0}"
Field Value
ShapeLayoutTagName
Name of the xml tag that stores all shape layout settings.
Declaration
public const string ShapeLayoutTagName = "shapelayout"
Field Value
ShapePathTagName
This element defines the path that makes up the shape.
Declaration
public const string ShapePathTagName = "path"
Field Value
ShapeTagName
Name of the xml tag that stores all shape settings.
Declaration
public const string ShapeTagName = "shape"
Field Value
ShapeTypeAttribute
Declaration
public const string ShapeTypeAttribute = "shapetype"
Field Value
String format used to create shape type id. {0} must be replaced with instance
field of the shape object.
Declaration
public const string ShapeTypeIdFormat = "_x0000_t{0}"
Field Value
ShapeTypeTagName
Name of the xml tag that represents shape type definition in VML.
Declaration
public const string ShapeTypeTagName = "shapetype"
Field Value
This element defines a single value as the result of the evaluation of an expression.
Declaration
public const string SingleFormulaTagName = "f"
Field Value
Size
Declaration
public const string Size = "size"
Field Value
SizeInPoints
Size value store with this string
Declaration
public const string SizeInPoints = "pt"
Field Value
SizeInPointsPrefix
Size value prefixed with this char
Declaration
public const char SizeInPointsPrefix = 'p'
Field Value
SizeWithCellsTagName
Name of the xml tag that indicates whether shape should be sized with cells or not.
Declaration
public const string SizeWithCellsTagName = "SizeWithCells"
Field Value
SolidFillTag
Declaration
public const string SolidFillTag = "solid"
Field Value
SolidFillTypeAttributeValue
Represents solid fill type of the shape
Declaration
public const string SolidFillTypeAttributeValue = "solid"
Field Value
SpIdAttributeName
Declaration
public const string SpIdAttributeName = "spid"
Field Value
SptAttriubteName
Name of the xml attribute that stores spt option (it looks like it equals to instance field of the shape).
Declaration
public const string SptAttriubteName = "spt"
Field Value
Stroke
This element describes how to draw the path if something beyond solid line
with a solid color is desired.
Declaration
public const string Stroke = "stroke"
Field Value
StrokeColorAttribute
this part contains tags used in VML
Declaration
public const string StrokeColorAttribute = "strokecolor"
Field Value
StrokedAttribute
Specifies whether the path defining the shape is stroked with a solid line.
Declaration
public const string StrokedAttribute = "stroked"
Field Value
StrokeOkAttribute
Declaration
public const string StrokeOkAttribute = "strokeok"
Field Value
StrokeWeightAttribute
shape's border Line wieght
Declaration
public const string StrokeWeightAttribute = "strokeweight"
Field Value
StyleAttribute
Style attribute for vml shapes.
Declaration
public const string StyleAttribute = "style"
Field Value
TextBoxTagName
Name of the xml tag that stores some of text box settings.
Declaration
public const string TextBoxTagName = "textbox"
Field Value
TextHAlign
Name of the xml tag that specifies the horizontal text alignment for the object.
Declaration
public const string TextHAlign = "TextHAlign"
Field Value
TextureAttributeValue
Declaration
public const string TextureAttributeValue = "tile"
Field Value
TextVAlign
Name of the xml tag that specifies the vertical text alignment for the object.
Declaration
public const string TextVAlign = "TextVAlign"
Field Value
TitleAttibute
Title of the texture or picture or pattern
Declaration
public const string TitleAttibute = "title"
Field Value
TrueExpression
Represents true expression
Declaration
public const string TrueExpression = "t"
Field Value
TypeAttributeName
Name of the xml tag that stores shape type attribute.
Declaration
public const string TypeAttributeName = "type"
Field Value
VisibilityAttribute
Part of the style attribute value that defines whether shape is visible or hidden.
Declaration
public const string VisibilityAttribute = "visibility"
Field Value
VisibilityHiddenValue
One of possible visibility values. Indicates that shape is hidden.
Declaration
public const string VisibilityHiddenValue = "hidden"
Field Value
VisibilityVisibleValue
One of possible visibility values. Indicates that shape is Visible.
Declaration
public const string VisibilityVisibleValue = "visible"
Field Value
VNamespace
Name of a namespace used by VML (marked by 'v' in MS Excel 2007 documents).
Declaration
public const string VNamespace = "urn:schemas-microsoft-com:vml"
Field Value
VPreffix
Namespace prefix used in vml shapes.
Declaration
public const string VPreffix = "v"
Field Value
Width
Declaration
public const string Width = "width"
Field Value
XmlTagName
Declaration
public const string XmlTagName = "xml"
Field Value
XNamespace
Name of a namespace used by VML (marked by 'x' in MS Excel 2007 documents).
Declaration
public const string XNamespace = "urn:schemas-microsoft-com:office:excel"
Field Value
XPreffix
Namespace prefix used in vml shapes.
Declaration
public const string XPreffix = "x"
Field Value