Поделиться через


SlideSize Class

Presentation Slide Size.When the object is serialized out as xml, its qualified name is p:sldSz.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.SlideSize

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

Syntax

'Декларация
Public Class SlideSize _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As SlideSize
public class SlideSize : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 редакция 1]

19.2.1.39 sldSz (Presentation Slide Size)

This element specifies the size of the presentation slide surface. Objects within a presentation slide can be specified outside these extents, but this is the size of background surface that is shown when the slide is presented or printed..

[Example: Consider the following specifying of the size of a presentation slide.

<p:presentation xmlns:a="" xmlns:r="" xmlns:p="" embedTrueTypeFonts="1">
  …
  <p:sldSz cx="9144000" cy="6858000" type="screen4x3"/>
  …
</p:presentation>

end example]

Parent Elements

presentation (§19.2.1.26)

Attributes

Description

cx (Extent Length)

Specifies the length of the extents rectangle in EMUs. This rectangle shall dictate the size of the object as displayed (the result of any scaling to the original object).

[Example: Consider a DrawingML object specified as follows:

<… cx="1828800" cy="200000"/>

The cx attributes specifies that this object has a height of 1828800 EMUs (English Metric Units). end example]

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

cy (Extent Width)

Specifies the width of the extents rectangle in EMUs. This rectangle shall dictate the size of the object as displayed (the result of any scaling to the original object).

[Example: Consider a DrawingML object specified as follows:

< … cx="1828800" cy="200000"/>

The cy attribute specifies that this object has a width of 200000 EMUs (English Metric Units). end example]

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

type (Type of Size)

Specifies the kind of slide size that should be used. This identifies in particular the expected delivery platform for this presentation.

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

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

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и 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

SlideSize Members

DocumentFormat.OpenXml.Presentation Namespace