Language

CGContextPDF.BeginMarkedContentSequence(CGPdfTagType) Method

Definition

Begins a structural marked-content sequence.

public CoreGraphics.CGPDFMarkedContentItem? BeginMarkedContentSequence(CoreGraphics.CGPdfTagType tagType);
member this.BeginMarkedContentSequence : CoreGraphics.CGPdfTagType -> CoreGraphics.CGPDFMarkedContentItem

Parameters

tagType
CGPdfTagType

The structure tag for the marked content.

Returns

The marked-content item to add to a structure element, or null if another structural sequence is already open.

Remarks

Use a structural tag such as Paragraph or Span, and balance each successful call with EndMarkedContentSequence(). Artifact is not valid for structural marked content.

Applies to