CreateBlendedBoundaryBitmap

 

The CreateBlendedBoundaryBitmap method creates a boundary bitmap to overlay the existing boundaries on the current layer. Returns a Bitmap object.

 

Syntax

object.CreateBlendedBoundaryBitmap( TexSrcType, BitmapFile, DelSelObjs, Depth, WidthInPixel, HeightInPixel )

 

Parameter

Type

Description

TexSrcType

MVTextureSourceType

required; blending source bitmap or selected objects

BitmapFile

String

optional; bitmap file path

DelSelObjs

Boolean

optional; remove selected objects after operation

Depth

MVColorDepth

optional; color depth

WidthInPixel

Integer

optional; width in pixels

HeightInPixel

Integer

optional; height in pixels

 

Remarks

In order to use the CreateBlendedBoundaryBitmap method, you must have a base map present in the current map document.

 

Example

This example creates a blended boundary bitmap based on selected objects in on the current layer in the map document. After the blended boundary bitmap is created the selected objects are deleted.

 

Set BBB = MapShapes.CreateBlendedBoundaryBitmap(TexSrcType:= mvTexSrcSelObj, _

DelSelObjs:=True)

 

Used by: Shapes collection