ModPlus.AutoCAD.API.2016 by ModPlus Software

<PackageReference Include="ModPlus.AutoCAD.API.2016" Version="2.0.0" />

.NET API 12,942,496 bytes

 Viewport

public class Viewport : Entity
public Color AmbientLightColor { get; set; }

public AnnotationScale AnnotationScale { get; set; }

public double BackClipDistance { get; set; }

public bool BackClipOn { get; set; }

public ObjectId Background { get; set; }

public double Brightness { get; set; }

public Point3d CenterPoint { get; set; }

public int CircleSides { get; set; }

public double Contrast { get; set; }

public double CustomScale { get; set; }

public bool DefaultLightingOn { get; set; }

public string EffectivePlotStyleSheet { get; }

public double Elevation { get; set; }

public bool FastZoomOn { get; set; }

public bool FrontClipAtEyeOn { get; set; }

public double FrontClipDistance { get; set; }

public bool FrontClipOn { get; set; }

public bool GridAdaptive { get; set; }

public bool GridBoundToLimits { get; set; }

public bool GridFollow { get; set; }

public Vector2d GridIncrement { get; set; }

public short GridMajor { get; set; }

public bool GridOn { get; set; }

public bool GridSubdivisionRestricted { get; set; }

public double Height { get; set; }

public bool HiddenLinesRemoved { get; set; }

public double LensLength { get; set; }

public bool LinkedToSheetView { get; }

public bool Locked { get; set; }

public ObjectId NonRectClipEntityId { get; set; }

public bool NonRectClipOn { get; set; }

public int Number { get; }

public bool On { get; set; }

public bool PerspectiveOn { get; set; }

public bool PlotAsRaster { get; }

public string PlotStyleSheet { get; set; }

public bool PlotWireframe { get; }

public ShadePlotType ShadePlot { get; set; }

public ObjectId ShadePlotId { get; }

public double SnapAngle { get; set; }

public Point2d SnapBasePoint { get; set; }

public Vector2d SnapIncrement { get; set; }

public bool SnapIsometric { get; set; }

public int SnapIsoPair { get; set; }

public bool SnapOn { get; set; }

public StandardScaleType StandardScale { get; set; }

public ObjectId SunId { get; }

public Bitmap Thumbnail { get; set; }

public bool Transparent { get; set; }

public double TwistAngle { get; set; }

public bool UcsFollowModeOn { get; set; }

public bool UcsIconAtOrigin { get; set; }

public bool UcsIconVisible { get; set; }

public ObjectId UcsName { get; }

public bool UcsPerViewport { get; set; }

public Point2d ViewCenter { get; set; }

public Vector3d ViewDirection { get; set; }

public double ViewHeight { get; set; }

public Point3d ViewTarget { get; set; }

public ObjectId VisualStyleId { get; set; }

public double Width { get; set; }

public Viewport()

public void FreezeLayersInViewport(IEnumerator layerIds)

public void GetUcs(Point3d origin, Vector3d x, Vector3d y)

public bool IsLayerFrozenInViewport(ObjectId layerId)

public void SetPreviousBackground(ObjectId value, DrawableType type)

public void SetShadePlot(ShadePlotType type, ObjectId shadePlotId)

public ObjectId SetSun(DBObject sun)

public void SetUcs(ObjectId userCoordinateSystemId)

public void SetUcs(OrthographicView view)

public void SetUcs(Point3d origin, Vector3d x, Vector3d y)

public void SetUcsToWorld()

public void ThawLayersInViewport(IEnumerator layerIds)

public void UpdateDisplay()