Initializes a new image with the default size
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Assembly: CADImport (in CADImport.dll)
<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.