Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Sep 4, 2024
1 parent 55af55f commit 006f5f5
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/ACadSharp/Objects/Layout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
namespace ACadSharp.Objects
{
/// <summary>
/// Represents a <see cref="Layout"/> object
/// Represents a <see cref="Layout"/> object.
/// </summary>
/// <remarks>
/// Object name <see cref="DxfFileToken.ObjectLayout"/> <br/>
/// Dxf class name <see cref="DxfSubclassMarker.Layout"/>
/// Object name <see cref="DxfFileToken.ObjectLayout"/>. <br/>
/// Dxf class name <see cref="DxfSubclassMarker.Layout"/>.
/// </remarks>
[DxfName(DxfFileToken.ObjectLayout)]
[DxfSubClass(DxfSubclassMarker.Layout)]
Expand All @@ -33,7 +33,7 @@ public class Layout : PlotSettings
public override string SubclassMarker => DxfSubclassMarker.Layout;

/// <summary>
/// Layout name
/// Layout name.
/// </summary>
[DxfCodeValue(1)]
public override string Name
Expand All @@ -49,79 +49,79 @@ public override string Name
}

/// <summary>
/// Layout flags
/// Layout flags.
/// </summary>
[DxfCodeValue(70)]
public LayoutFlags LayoutFlags { get; set; }

/// <summary>
/// Tab order.This number is an ordinal indicating this layout's ordering in the tab control that is attached to the drawing window. Note that the “Model” tab always appears as the first tab regardless of its tab order
/// Tab order. This number is an ordinal indicating this layout's ordering in the tab control that is attached to the drawing window. Note that the “Model” tab always appears as the first tab regardless of its tab order.
/// </summary>
[DxfCodeValue(71)]
public int TabOrder { get; set; }

/// <summary>
/// Minimum limits for this layout (defined by LIMMIN while this layout is current)
/// Minimum limits for this layout (defined by LIMMIN while this layout is current).
/// </summary>
[DxfCodeValue(10, 20)]
public XY MinLimits { get; set; } = new XY(-20.0, -7.5);

/// <summary>
/// Maximum limits for this layout(defined by LIMMAX while this layout is current)
/// Maximum limits for this layout(defined by LIMMAX while this layout is current).
/// </summary>
[DxfCodeValue(11, 21)]
public XY MaxLimits { get; set; } = new XY(277.0, 202.5);

/// <summary>
/// Insertion base point for this layout(defined by INSBASE while this layout is current)
/// Insertion base point for this layout(defined by INSBASE while this layout is current).
/// </summary>
[DxfCodeValue(12, 22, 32)]
public XYZ InsertionBasePoint { get; set; }

/// <summary>
/// Minimum extents for this layout(defined by EXTMIN while this layout is current)
/// Minimum extents for this layout(defined by EXTMIN while this layout is current).
/// </summary>
[DxfCodeValue(14, 24, 34)]
public XYZ MinExtents { get; set; } = new XYZ(25.7, 19.5, 0.0);

/// <summary>
/// Maximum extents for this layout(defined by EXTMAX while this layout is current)
/// Maximum extents for this layout(defined by EXTMAX while this layout is current).
/// </summary>
[DxfCodeValue(15, 25, 35)]
public XYZ MaxExtents { get; set; } = new XYZ(231.3, 175.5, 0.0);

/// <summary>
/// Layout elevation
/// Layout elevation.
/// </summary>
[DxfCodeValue(146)]
public double Elevation { get; set; }

/// <summary>
/// UCS origin
/// UCS origin.
/// </summary>
[DxfCodeValue(13, 23, 33)]
public XYZ Origin { get; set; } = XYZ.Zero;

/// <summary>
/// UCS X-axis
/// UCS X-axis.
/// </summary>
[DxfCodeValue(16, 26, 36)]
public XYZ XAxis { get; set; } = XYZ.AxisX;

/// <summary>
/// UCS Y-axis
/// UCS Y-axis.
/// </summary>
[DxfCodeValue(17, 27, 37)]
public XYZ YAxis { get; set; } = XYZ.AxisY;

/// <summary>
/// Orthographic type of UCS
/// Orthographic type of UCS.
/// </summary>
[DxfCodeValue(76)]
public OrthographicType UcsOrthographicType { get; set; }

/// <summary>
/// The associated paper space block table record
/// The associated paper space block table record.
/// </summary>
[DxfCodeValue(DxfReferenceType.Handle, 330)]
public BlockRecord AssociatedBlock
Expand All @@ -140,7 +140,7 @@ internal set
}

/// <summary>
/// Viewport that was last active in this layout when the layout was current
/// Viewport that was last active in this layout when the layout was current.
/// </summary>
[DxfCodeValue(DxfReferenceType.Handle, 331)]
public Viewport Viewport
Expand All @@ -159,19 +159,19 @@ internal set
}

/// <summary>
/// UCS Table Record if UCS is a named UCS
/// UCS Table Record if UCS is a named UCS.
/// </summary>
/// <remarks>
/// If not present, then UCS is unnamed
/// If not present, then UCS is unnamed.
/// </remarks>
[DxfCodeValue(DxfReferenceType.Handle, 345)]
public UCS UCS { get; set; }

/// <summary>
/// UCSTableRecord of base UCS if UCS is orthographic (<see cref="UcsOrthographicType"/> is non-zero)
/// UCSTableRecord of base UCS if UCS is orthographic (<see cref="UcsOrthographicType"/> is non-zero).
/// </summary>
/// <remarks>
/// If not present and <see cref="UcsOrthographicType"/> is non-zero, then base UCS is taken to be WORLD
/// If not present and <see cref="UcsOrthographicType"/> is non-zero, then base UCS is taken to be WORLD.
/// </remarks>
[DxfCodeValue(DxfReferenceType.Handle, 346)]
public UCS BaseUCS { get; set; }
Expand All @@ -183,7 +183,7 @@ public bool IsPaperSpace
{
get
{
return this.Name.Equals(ModelLayoutName, StringComparison.InvariantCultureIgnoreCase);
return !this.Name.Equals(ModelLayoutName, StringComparison.InvariantCultureIgnoreCase);
}
}

Expand Down

0 comments on commit 006f5f5

Please sign in to comment.