共用方式為


WebProperties.ImageSize Property

Image size for HTML output.Represents the attribte in schema: imgSz

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

Syntax

'Declaration
<SchemaAttrAttribute(, "imgSz")> _
Public Property ImageSize As EnumValue(Of WebScreenSizeValues)
    Get
    Set
'Usage
Dim instance As WebProperties
Dim value As EnumValue(Of WebScreenSizeValues)

value = instance.ImageSize

instance.ImageSize = value
[SchemaAttrAttribute(, "imgSz")]
public EnumValue<WebScreenSizeValues> ImageSize { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<WebScreenSizeValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

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.

See Also

Reference

WebProperties Class

WebProperties Members

DocumentFormat.OpenXml.Presentation Namespace