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

声明
<ChildElementInfoAttribute(GetType(ScaleY))> _
<ChildElementInfoAttribute(GetType(ScaleX))> _
Public Class ScaleFactor _
    Inherits OpenXmlCompositeElement
用法
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 第 1 个版本]

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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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