Document.Envelope Property (2007 System)
Gets an Envelope that represents envelope functionality and the envelope in the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Envelope As Envelope
'Usage
Dim instance As Document
Dim value As Envelope
value = instance.Envelope
[BrowsableAttribute(false)]
public Envelope Envelope { get; }
[BrowsableAttribute(false)]
public:
property Envelope^ Envelope {
Envelope^ get ();
}
public function get Envelope () : Envelope
Property Value
Type: Envelope
An Envelope that represents envelope functionality and the envelope in the document.
Examples
The following code example sets the default envelope size to C4 (229 x 324 mm).
This example is for a document-level customization.
Private Sub DocumentEnvelope()
Me.Envelope.DefaultSize = "C4"
End Sub
private void DocumentEnvelope()
{
this.Envelope.DefaultSize = "C4";
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.