Share via


PictureLocks.NoCrop Property

Disallow Crop Changes.Represents the attribte in schema: noCrop

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

Syntax

'Declaration
<SchemaAttrAttribute(, "noCrop")> _
Public Property NoCrop As BooleanValue
    Get
    Set
'Usage
Dim instance As PictureLocks
Dim value As BooleanValue

value = instance.NoCrop

instance.NoCrop = value
[SchemaAttrAttribute(, "noCrop")]
public BooleanValue NoCrop { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

Remarks

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

Specifies that the generating application should not allow cropping for the corresponding picture. If this attribute is not specified, then a value of false is assumed.

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

See Also

Reference

PictureLocks Class

PictureLocks Members

DocumentFormat.OpenXml.Drawing Namespace