ScaleFactor Class

View Scale.When the object is serialized out as xml, its qualified name is p:scale.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.ScaleFactor

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ScaleY))> _
<ChildElementInfoAttribute(GetType(ScaleX))> _
Public Class ScaleFactor _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ScaleFactor
[ChildElementInfoAttribute(typeof(ScaleY))]
[ChildElementInfoAttribute(typeof(ScaleX))]
public class ScaleFactor : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.ScaleX <a:sx>

  • DocumentFormat.OpenXml.Drawing.ScaleY <a:sy>

[ISO/IEC 29500-1 1st Edition]

19.2.2.13 scale (View Scale)

This element specifies the view scaling factors that the presentation was last viewed with.

Parent Elements

cViewPr (§19.2.2.2)

Child Elements

Subclause

sx (Horizontal Ratio)

§20.1.2.2.38

sy (Vertical Ratio)

§20.1.2.2.39

[Note: The W3C XML Schema definition of this element’s content model (CT_Scale2D) 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

ScaleFactor Members

DocumentFormat.OpenXml.Presentation Namespace