Partager via


WebProperties Class

Web Properties.This class is only available in Office2007.When the object is serialized out as xml, its qualified name is p:webPr.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2007)> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class WebProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As WebProperties
[OfficeAvailabilityAttribute(FileFormatVersions.Office2007)]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class WebProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition]

11.2.1.2 webPr (Web Properties)

This element specifies all general output properties that pertain to generating a web format version of the presentation document.

Parent Elements

presentationPr (Part 1, §19.2.1.27)

Child Elements

Subclause

extLst (Extension List)

Part 1, §19.2.1.12

Attributes

Description

allowPng (Allow PNG in HTML output)

Specifies whether to allow the output of PNG format pictures in the HTML document.

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

clr (Slide Navigation Colors for HTML output)

Specifies the color constraints that are to be used when generating HTML output.

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

encoding (Encoding for HTML output)

Specifies the particular HTML character set encoding that should be used when generating output.

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

imgSz (Image size for HTML output)

Specifies the screen size for which the images in the HTML output should be optimized.

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

organizeInFolders (Organize HTML output in folders)

Specifies whether the supporting output files should be automatically organized into a folder.

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

relyOnVml (Rely on VML for HTML output)

Specifies whether graphics should be output in VML within the HTML.

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

resizeGraphics (Resize graphics in HTML output)

Specifies whether to resize graphics to fit within the browser window when generating the HTML output.

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

showAnimation (Show animation in HTML output)

Specifies whether to show presentation animation in the HTML output file.

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

useLongFilenames (Use long file names in HTML output)

Specifies whether to allow the use of long file names when generating the HTML output.

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

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

WebProperties Members

DocumentFormat.OpenXml.Presentation Namespace