Search
FlowChart.DrawMark Event
See Also
 



Raised to perform custom drawing of anchor points whose mark style is set to msCustom.

 Syntax

VB6  Copy Code

Public Event DrawMark

 Event Data

Parameter

Type

Description

hdc

[input] long

A pointer to the drawing surface. Cast it to an HDC handle if using the classic graphics engine or to a pointer to a GDI+ Graphics object if using the GDI+ engine.

docX

[input] long

The X coordinate of the anchor point mark.

docY

[input] long

The Y coordinate of the anchor point mark.

node

[input] reference to a diagram node

A Box or a Table instance whose anchor point must be painted.

aPattern

[input] AnchorPattern instance

The anchor pattern whose point must be painted.

anchorIndex

[input] long

The index of the anchor point in the anchor pattern.

Dispatch ID: 89

 Remarks

The drawing surface passed as the first argument is already prepared for drawing, having the needed transformations applied to match the diagram's ZoomFactor and scroll position. Use the appropriate GDI API functions or methods of the GDI+ Graphics class to perform custom drawing on the specified drawing surface.

 See Also