XFINIUM.PDF Documentation
MapObjectReference(PdfAnnotation,PdfStructureElement) Method



Xfinium.Pdf.LogicalStructure Namespace > PdfStructureTree Class > MapObjectReference Method : MapObjectReference(PdfAnnotation,PdfStructureElement) Method
The annotation that acts as a content item for the structure element.
The structure element that has a PdfObjectReference as child, object reference that points to the annotation.
Adds a mapping between an annotation and a structure element.
Syntax
'Declaration
 
Public Overloads Sub MapObjectReference( _
   ByVal annotation As PdfAnnotation, _
   ByVal structureElement As PdfStructureElement _
) 
'Usage
 
Dim instance As PdfStructureTree
Dim annotation As PdfAnnotation
Dim structureElement As PdfStructureElement
 
instance.MapObjectReference(annotation, structureElement)
public void MapObjectReference( 
   PdfAnnotation annotation,
   PdfStructureElement structureElement
)
public:
void MapObjectReference( 
   PdfAnnotation^ annotation,
   PdfStructureElement^ structureElement
) 

Parameters

annotation
The annotation that acts as a content item for the structure element.
structureElement
The structure element that has a PdfObjectReference as child, object reference that points to the annotation.
Remarks
This method needs to be called when a structure element uses an entire PDF object, such as an annotation, as content item through a PdfObjectReference.
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

PdfStructureTree Class
PdfStructureTree Members
Overload List