Partager via


Blur Class

Defines the Blur Class.When the object is serialized out as xml, its qualified name is a:blur.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Blur

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

Syntax

'Declaration
Public Class Blur _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Blur
public class Blur : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.8.15 blur (Blur Effect)

This element specifies a blur effect that is applied to the entire shape, including its fill. All color channels, including alpha, are affected.

Parent Elements

blip (§20.1.8.13); cont (§20.1.8.20); effectDag (§20.1.8.25); effectLst (§20.1.8.26)

Attributes

Description

grow (Grow Bounds)

Specifies whether the bounds of the object should be grown as a result of the blurring. True indicates the bounds are grown while false indicates that they are not.

[Example:

With grow set to false, the blur effect does not extend beyond the original bounds of the object:

DocumentFormat.OpenXml.Drawing.Blur-image001

With grow set to true, the blur effect can extend beyond the original bounds of the object:

DocumentFormat.OpenXml.Drawing.Blur-image002

end example]

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

rad (Radius)

Specifies the radius of blur.

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

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

Blur Members

DocumentFormat.OpenXml.Drawing Namespace