C# Class Revit.SDK.Samples.InPlaceMembers.CS.PictureBox3D

picturebox wich can display 3D geometry outline
Inheritance: System.Windows.Forms.Button
Mostrar archivo Open project: AMEE/revit

Public Methods

Method Description
MoveX ( bool left ) : void

move view in horizontal direction

MoveY ( bool up ) : void

move view in vertical direction

Scale ( bool zoomIn ) : void

scale the view by default value

Protected Methods

Method Description
OnPaint ( PaintEventArgs pe ) : void

paint outline

Private Methods

Method Description
GetDisplayRegion ( ) : System.Drawing.PointF[]

get the display region, adjust the proportion and location

Method Details

MoveX() public method

move view in horizontal direction
public MoveX ( bool left ) : void
left bool left or right
return void

MoveY() public method

move view in vertical direction
public MoveY ( bool up ) : void
up bool up or down
return void

OnPaint() protected method

paint outline
protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void

Scale() public method

scale the view by default value
public Scale ( bool zoomIn ) : void
zoomIn bool zomme in or zoom out
return void