Partager via


RelativeOffset Class

Relative Offset Effect.When the object is serialized out as xml, its qualified name is a:relOff.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.RelativeOffset

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.8.51 relOff (Relative Offset Effect)

This element specifies a relative offset effect. Sets up a new origin by offsetting relative to the size of the previous effect.

Parent Elements

cont (§20.1.8.20); effectDag (§20.1.8.25)

Attributes

Description

tx (Offset X)

Specifies the X offset.

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

ty (Offset Y)

Specifies the Y offset.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_RelativeOffsetEffect) is located in §A.4.1. 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

RelativeOffset Members

DocumentFormat.OpenXml.Drawing Namespace