Share via


Blip.CompressionState Property

Compression State.Represents the attribte in schema: cstate

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

Syntax

'Declaration
<SchemaAttrAttribute(, "cstate")> _
Public Property CompressionState As EnumValue(Of BlipCompressionValues)
    Get
    Set
'Usage
Dim instance As Blip
Dim value As EnumValue(Of BlipCompressionValues)

value = instance.CompressionState

instance.CompressionState = value
[SchemaAttrAttribute(, "cstate")]
public EnumValue<BlipCompressionValues> CompressionState { get; set; }

Property Value

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

Remarks

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

Specifies the compression state with which the picture is stored. This allows the application to specify the amount of compression that has been applied to a picture.

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

See Also

Reference

Blip Class

Blip Members

DocumentFormat.OpenXml.Drawing Namespace