Envelope を Polygon や Polyline に変換する方法

Dim pEnvelope As IEnvelope
Set pEnvelope = New Envelope

Dim pSegmentCollection As ISegmentCollection
'Set pSegmentCollection = New Polyline
Set pSegmentCollection = New Polygon
pSegmentCollection.SetRectangle pEnvelope