DocumentBase.Envelope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an Envelope that represents envelope functionality and the envelope in the document.
public:
property Microsoft::Office::Interop::Word::Envelope ^ Envelope { Microsoft::Office::Interop::Word::Envelope ^ get(); };
public Microsoft.Office.Interop.Word.Envelope Envelope { get; }
member this.Envelope : Microsoft.Office.Interop.Word.Envelope
Public ReadOnly Property Envelope As Envelope
Property Value
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 void DocumentEnvelope()
{
this.Envelope.DefaultSize = "C4";
}
Private Sub DocumentEnvelope()
Me.Envelope.DefaultSize = "C4"
End Sub