TargetScreenSize.Val Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Target Screen Size Value
Represents the following attribute in the schema: w:val
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues> Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues> Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues>? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues>? Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues>? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TargetScreenSizeValues> with get, set
Public Property Val As EnumValue(Of TargetScreenSizeValues)
Property Value
Returns EnumValue<T>.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the target screen size for web pages produced by this document, as defined by the simple type referenced below.
Consider a WordprocessingML document which contains the following content within the web settings part:
<w:webSettings>
<w:targetScreenSz w:val="1024x768" />
</w:webSettings>
The val
attribute has a value of 1024x768
, which specifies that a target screen size of 1024 by 768 pixels shall be assumed when saving this document as a web page.
The possible values for this attribute are defined by the ST_TargetScreenSz
simple type.