Share

Viewport.Locked Property

Description

Assesses if a viewport's scale is locked. When a viewport is locked, its zoom factor relative to paperspace cannot be changed via AutoCAD commands such as ZOOM and VIEW.

Visual Basic

Public Property Locked() As bool

C#

public bool Locked;

Conditions

Read / Write

Links

Viewport Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?