PaintRegion Event (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Occurs when a View is painted.

Usage

Sub Application_PaintRegion(ByVal View As IVdView, ByVal LowerLeftx As Long, ByVal LowerLefty As Long, ByVal UpperRightx As Long, ByVal UpperRighty As Long)

Arguments

View

Specifies the name of the View being painted.

LowerLeftx

X coordinate of the lower left hand corner of the clip rectangle. This value is expressed in the application coordinate system.

LowerLefty

Y coordinate of the lower left hand corner of the clip rectangle. This value is expressed in the application coordinate system.

UpperRightx

X coordinate of the upper right hand corner of the clip rectangle. This value is expressed in the application coordinate system.

UpperRighty

Y coordinate of the upper right hand corner of the clip rectangle. This value is expressed in the application coordinate system.

Description

The View being painted, and the dimensions of the clip rectangle are passed as parameters. Use this method as a hook into the Viewport object.