Skip to content

PDFFormattedBlock

Namespace: O2S.Components.PDF4NET.Graphics.FormattedContent

Defines the base class for all formatted blocks.

public abstract class PDFFormattedBlock

Inheritance ObjectPDFFormattedBlock

Remarks

A formatted block is a piece of content with unique formatting attributes.

Constructors

PDFFormattedBlock()

Initializes a new PDFFormattedBlock object.

public PDFFormattedBlock()

Properties

Action

Gets or sets the action.

public PDFAction Action { get; set; }

Property Value

PDFAction
The action to be executed when the block is clicked.


StructureElement

Gets or sets the structure element.

public PDFStructureElement StructureElement { get; set; }

Property Value

PDFStructureElement
The PDFStructureElement object associated with this block.

Remarks

Set this property to a structure element when the paragraph that includes this block does not have a structure element, otherwise the content will be tagged incorrectly.