Share via


PercentageType.Val Property

Definition

Value

Represents the following attribute in the schema: val

[DocumentFormat.OpenXml.SchemaAttr(0, "val")]
public DocumentFormat.OpenXml.Int32Value Val { get; set; }
public DocumentFormat.OpenXml.Int32Value Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "val")]
public DocumentFormat.OpenXml.Int32Value? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("val")]
public DocumentFormat.OpenXml.Int32Value? Val { get; set; }
public DocumentFormat.OpenXml.Int32Value? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "val")>]
member this.Val : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("val")>]
member this.Val : DocumentFormat.OpenXml.Int32Value with get, set
Public Property Val As Int32Value

Property Value

Returns Int32Value.

Attributes

Remarks

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

Specifies the value of the blue component. The assigned value is specified as a percentage with 0% indicating minimal blue and 100% indicating maximum blue.

The following manipulates the fill from having RGB value RRGGBB = (00, FF, 00) to value RRGGBB= (00, FF, FF):

<a:solidFill>  
  <a:srgbClr val="00FF00">  
    <a:blue val="100000"/>  
  </a:srgbClr>  
</a:solidFill>  

The possible values for this attribute are defined by the ST_Percentage simple type.

Applies to