Table of Contents

Method Add3dAnnotation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Add3dAnnotation(PdfRectangle, string)

Adds the new 3D annotation based on 3D data from the file.

public Pdf3dAnnotation Add3dAnnotation(PdfRectangle bounds, string fileName)

Parameters

bounds PdfRectangle

The bounds of the 3D annotation.

fileName string

The path to a file containing 3D data in U3D or PRC format.

Returns

Pdf3dAnnotation

The newly created Pdf3dAnnotation object.

Add3dAnnotation(PdfRectangle, Stream)

Adds the new 3D annotation based on 3D data from Stream.

public Pdf3dAnnotation Add3dAnnotation(PdfRectangle bounds, Stream stream)

Parameters

bounds PdfRectangle

The bounds of the 3D annotation.

stream Stream

The stream containing 3D data in U3D or PRC format.

Returns

Pdf3dAnnotation

The newly created Pdf3dAnnotation object.

Add3dAnnotation(PdfRectangle, Pdf3dStream)

Adds the new 3D annotation based on 3D data from Pdf3dStream.

public Pdf3dAnnotation Add3dAnnotation(PdfRectangle bounds, Pdf3dStream data)

Parameters

bounds PdfRectangle

The bounds of the 3D annotation.

data Pdf3dStream

The 3D data to use in the annotation.

Returns

Pdf3dAnnotation

The newly created Pdf3dAnnotation object.