Initializes a new image with the default size

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Sub InitialNewImage()
This language is not supported or no code example is available.
public void InitialNewImage()
This language is not supported or no code example is available.
<p>Use InitialNewImage example:</p> <p>[C#]</p>
		
 	if(cadImage != null)
 		cadImage.Dispose();
 	scale = 1;
 	prev_scale = 1;
 	pos = new PointF();
 	cadImage = new CADImage();
 	cadImage.SelectionMode = SelectionEntityMode.Enabled;
 	if(cadPictBox.BackColor == Color.White)
 		White_Click();
 	else
 		Black_Click();
 	cadImage.InitialNewImage();
 	EnableButton(true);
 	trvEntity.Nodes.Clear();				
 	DoResize(cadImage, ref pos, cadPictBox, ref curClRect, deactiv);			
 	ObjEntity.cadImage = cadImage;										//for object inspector
 	ObjEntity.propGrid = propGrid;										//for object inspector
 	cadImage.UseWinEllipse = false;
 	entCreator.Image = cadImage;
 	prtForm.Image = cadImage;
 	SetLayList();	
 						

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6