Envelope.DefaultSize Property

Returns or sets the default envelope size.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Default Property DefaultSize As String
    Get
    Set
'Usage
Dim instance As Envelope
Dim value As String

value = instance

instance = value
string this { get; set; }

Property Value

Type: System.String

Remarks

The string that's returned corresponds to the right-hand side of the string that appears in the Envelope Size box in the Envelope Options dialog box. If you set either the DefaultHeight or DefaultWidth property, the envelope size is automatically changed to Custom Size in the Envelope Options dialog box (Tools menu) and this property returns "Custom size."

See Also

Reference

Envelope Interface

Envelope Members

Microsoft.Office.Interop.Word Namespace