Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an Envelope that represents envelope functionality and the envelope in the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property Envelope As Envelope
public Envelope Envelope { get; }
Property Value
Type: Microsoft.Office.Interop.Word.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). To use this example, run it from the ThisDocument class in a document-level project.
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.