Graphical processing by PaintPicture method in VB

zhaozj2021-02-16  42

Graphical processing in VB with the PaintPicture method:

A source map is placed in the control Picture1, graphically processing on the control Picture2:

1. Copy: Picture2.PaintPicture Picture1.Picture, 0,0, Picture2.Width, Picture.Height, 0, 0, -

Picture1.width, Picture1.height

2. Graphical left and right: Picture2.PaintPicture Picture1.Picture, 0,0, Picture2.Width, Picture2.Height, Picture1.Width, 0, -

-Picture1.width, Picture1.height

3. Drawings up and down: Picture2.PaintPicture Picture1.Picture, 0,0, Picture2.Width, Picture2.Height, 0, Picture1.Height, -

Picture1.width, - Picture1.Height

转载请注明原文地址:https://www.9cbs.com/read-26540.html

New Post(0)