Sets the userdraw attribute for a specific element for the specific layer. This controls if the application wants to draw or paint the rectangle itself.
Visual Basic |
---|
Public Sub PrgSetItemUserDraw( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal bUserDraw As Boolean _ ) |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
- bUserDraw
- If the application should draw the rectangle or if NotateXpress should draw the rectangle
This is for advanced users.
The UserDraw attribute of a rectangle element determines if a rectangle element raises a UserDraw event or draws itself normally.