XFINIUM.PDF Documentation
ParentStructureElementForContent Property



Xfinium.Pdf.FlowDocument Namespace > PdfFlowDocument Class : ParentStructureElementForContent Property
Gets or sets the structure element that serves as parent for the structure elements in the flow content objects.
Syntax
'Declaration
 
Public Property ParentStructureElementForContent As PdfStructureElement
'Usage
 
Dim instance As PdfFlowDocument
Dim value As PdfStructureElement
 
instance.ParentStructureElementForContent = value
 
value = instance.ParentStructureElementForContent
public PdfStructureElement ParentStructureElementForContent {get; set;}
public:
property PdfStructureElement^ ParentStructureElementForContent {
   PdfStructureElement^ get();
   void set (    PdfStructureElement^ value);
}

Property Value

A Xfinium.Pdf.LogicalStructure.PdfStructureElement object representing the parent structure element for the flow content objects added to the document.
Remarks
By default the PdfFlowDocument create a Xfinium.Pdf.LogicalStructure.PdfStandardStructureTypes.Part as parent for structure elements defined by the flow content objects. This Xfinium.Pdf.LogicalStructure.PdfStandardStructureTypes.Part element is a direct child of the Xfinium.Pdf.LogicalStructure.PdfStandardStructureTypes.Document structure element which represents the document and is the root of the structure tree.
The new parent applies only to flow content objects added to the document after this property has been set.
The structure element used as parent must be included explicitly in the document' structure tree.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFlowDocument Class
PdfFlowDocument Members