Compartilhar via


Skew Class

Skew Transform.When the object is serialized out as xml, its qualified name is o:skew.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Vml.Office.Skew

Namespace:  DocumentFormat.OpenXml.Vml.Office
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Skew _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Skew
public class Skew : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.2.2.31 skew (Skew Transform)

This element specifies a perspective skew effect on a shape. The skew is applied to vector graphics, not image data on the shape in picture fills or image elements. The on attribute shall be true and a permitted value assigned to the matrix attribute.

Parent Elements

arc (§14.1.2.1); background (Part 1, §17.2.1); curve (§14.1.2.3); group (§14.1.2.7); hdrShapeDefaults (§9.7.2.1); image (§14.1.2.10); line (§14.1.2.12); object (Part 1, §17.3.3.19); oval (§14.1.2.13); pict (§9.2.2.2); pict (§9.5.1); polyline (§14.1.2.15); rect (§14.1.2.16); roundrect (§14.1.2.17); shape (§14.1.2.19); shapeDefaults (§9.7.2.2); shapedefaults (§14.2.2.28); shapetype (§14.1.2.20)

Attributes

Description

ext (VML Extension Handling Behavior)

Namespace: urn:schemas-microsoft-com:vml

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.

[Rationale: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. end rationale]

The possible values for this attribute are defined by the ST_Ext simple type (§14.1.3.2).

id (Skew ID)

Specifies a name that provides a unique identifier for a skew. Default is no value.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

matrix (Skew Perspective Matrix)

Specifies a perspective transform of a skew. Default is "1,0,0,1,0,0".

The matrix is given in the form "" where s = scale and p = perspective. If the offset attribute is in absolute units then are in 1/EMU units; otherwise they are an inverse fraction of the shape size.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

offset (Skew Offset)

Specifies the amount of x,y offset from the shape’s location. Default is "2pt,2pt". Positive values are measured from the upper left of the face of the shape.

Values are specified as either an absolute measurement or a fractional value of the shape's dimensions (–0.5 to +0.5).

The possible values for this attribute are defined by the W3C XML Schema string datatype.

on (Skew Toggle)

Specifies whether a skew is displayed. Default is false.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

origin (Skew Origin)

Specifies the origin of the skew. Default is "0,0".

Values are typically a percentage of the shape's size and range from -0.5 to +0.5. Larger values are allowed that give offsets as multiples of the shape's size.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Skew) is located in §A.6.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Skew Members

DocumentFormat.OpenXml.Vml.Office Namespace