• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 16399014406

20 Jul 2025 10:41AM UTC coverage: 75.129% (+0.09%) from 75.043%
16399014406

push

github

web-flow
Merge pull request #715 from DomCR/issue-712-pdfunderlay-writer

Issue 712 pdfunderlay writer

5899 of 8639 branches covered (68.28%)

Branch coverage included in aggregate %.

174 of 253 new or added lines in 18 files covered. (68.77%)

12 existing lines in 3 files now uncovered.

23517 of 30515 relevant lines covered (77.07%)

80247.46 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/src/ACadSharp/Entities/PdfUnderlay.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Objects;
3
using ACadSharp.Objects.Collections;
4

5
namespace ACadSharp.Entities
6
{
7
        /// <summary>
8
        /// Represents a <see cref="PdfUnderlay"/> entity.
9
        /// </summary>
10
        /// <remarks>
11
        /// Object name <see cref="DxfFileToken.EntityPdfUnderlay"/> <br/>
12
        /// Dxf class name <see cref="DxfSubclassMarker.Underlay"/>
13
        /// </remarks>
14
        [DxfName(DxfFileToken.EntityPdfUnderlay)]
15
        [DxfSubClass(DxfSubclassMarker.Underlay)]
16
        public class PdfUnderlay : UnderlayEntity<PdfUnderlayDefinition>
17
        {
18
                /// <inheritdoc/>
19
                public override string ObjectName => DxfFileToken.EntityPdfUnderlay;
922✔
20

21
                /// <inheritdoc/>
UNCOV
22
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
23

24
                /// <inheritdoc/>
NEW
25
                public PdfUnderlay(PdfUnderlayDefinition definition) : base(definition) { }
×
26

27
                internal PdfUnderlay()
361✔
28
                {
361✔
29
                }
361✔
30

31
                protected override ObjectDictionaryCollection<PdfUnderlayDefinition> getDocumentCollection(CadDocument document)
32
                {
724✔
33
                        return document.PdfDefinitions;
724✔
34
                }
724✔
35
        }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc