PeachDrawing.PDF.PdfTagRecorder
PdfTagRecorder.IsInMarkedContent Property
Whether what is drawn now lands inside a marked-content sequence already - a content element’s or an artifact’s. Marked content cannot nest, so a caller about to open an artifact for drawing that may be reached from inside another element’s content checks this first.
public bool IsInMarkedContent { get; }