Preview

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

Preview

public void Preview(Int32[] lstLayer,ref Bitmap previewBitmap,Double previewZoom)

 

Description:

 Print preview.

 

Parameter:

 lstLayer: Layer list

 previewBitmap: Preview bitmap

 previewZoom: Zoom size

 

Example:

 private void PrintPreviewForm_Load(object sender, System.EventArgs e)

 {

         Int32[] lstLayer = new Int32[1];

         lstLayer[0] = 0;

         Bitmap b = new Bitmap(1,1);

         mainForm.myCAD1.Preview(lstLayer,ref b,1);

 

         pictureBox1.Image = b;

 

 }